Take the 2-minute tour ×

I want to hide the content below when the user uses pagination to move from the initial page of the archive (page 1). Is there some way of detecting whether or not the current page is page 1? Content below needs to reappear if the user returns to page 1.

<!--Hide Me if not on page one-->
<div class="oneThirdColumn alignLeft"> <!-- Rigth Column -->
  <div class="colTopHeader">
    <h2>Filter Products</h2>
    <div class="clear"></div>
  <!-- Faceted Search -->
  <?php dynamic_sidebar( 'secondary-widget-area' ); ?>
</div> <!-- end Rigth Column -->
share|improve this question

1 Answer 1

up vote 1 down vote accepted

There is an example on the wordpress codex. (link). Basically you use an if statement on the variable $paged which stands keeps track of the current archive page.

share|improve this answer

Your Answer


