Posted By

Farhan on 02/06/12


Tagged

wordpress pagination Frontpage


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

danfolt


Show if Front page and not Paginate


 / Published in: PHP
 

URL: http://codex.wordpress.org/Conditional_Tags

This will show content between this only on frontpage of the website. By default if you have blog on frontpage and goto page 2 or 3 you'll still see the content.

  1. <?php if(is_front_page() && !is_paged()) { ?>

Report this snippet  

You need to login to post a comment.