08 March, 2011

Wordpress - If front page

This snippet shows how to make an if statement. Whitch content is interpated when you are on front page.
<?php if(is_front_page() ) { ?>
Your HTML here
<?php } ?>

No comments:

Post a Comment