Entries Categorized as 'Coding'

How To Publish Wordpress Code

Date September 13, 2007

You also might have some trouble publishing code in your wordpress blog posts. If you do, then you can replace some of the common elements with these commands to allow the code to publish.

" - Quote Mark “
' - Apostrophe ‘
© - Copyright symbol ©
: - Colon :
&#59; - Semi-colon ;
< - Less than [...]

How To Place Ads On Your Homepage Only

Date September 13, 2007

If you are running with a wordpress blog and things are going well, you might want to know how to place something (ads perhaps..) on the homepage only.
In case you do.. here is the code..
<?php if(is_home() && $post==$posts[0] && !is_paged()) { ?>
PLACE ADVERTISEMENT HERE.
<?php } ?>