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 :
; - Semi-colon ;
< - Less than [...]
Posted in Coding
2 Comments »
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 } ?>
Posted in Coding
No Comments »