View Single Post
Old 02-13-2010, 02:33 PM  
Angry Jew Cat - Banned for Life
(felis madjewicus)
 
Industry Role:
Join Date: Jul 2006
Location: In Mom & Dad's Basement
Posts: 20,368
Quote:
Originally Posted by fris View Post
not sure if you want an include or what, but you want to use the variable is_paged()

Code:
<?php if (is_category() && !is_paged()) { ?>

<div class="stuff">
blah blah
</div>

or

<?php include (TEMPLATEPATH . '/showdiv.html'); ?>

<?php } ?>
What I want is a single area for includign a category description, but I only want it to appear at the top of the first page of the category results. Not the description on the top of every page under the category listing.

I'll google the is_paged() variable now and see what it has to say. Never used it before. Might work.
Angry Jew Cat - Banned for Life is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote