Show if Front page and not Paginate


/ Published in: PHP
Save to your folder(s)

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.


Copy this code and paste it in your HTML
  1. <?php if(is_front_page() && !is_paged()) { ?>

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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.