Posted By

S_Park on 07/30/10


Tagged

paging wordpress


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

osirisinternet
maxvee8


Wordpress: Displaying Only on First Page of a Category/Archive


 / Published in: PHP
 

  1. <?php if ($paged < 2) { // if is page one ?>
  2. <p>This content will apear on the first page of a paged category/archive.</p>
  3. <?php } else { // optional ?>
  4. <p>This content will apear on subsequent pages.</p>
  5. <?php } ?>

Report this snippet  

You need to login to post a comment.