Wordpress - Show a featured post only on first page of particular category


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



Copy this code and paste it in your HTML
  1. <?php if(is_category('3') && isset($paged) && (0 == $paged)){?>
  2.  
  3. //query goes in here...
  4.  
  5. <?php } ?>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.