I am stuck with categories, Need your help. Urgent!
-
I would like to display different number of post in different categories. My current code on category.php is
[B]<?php if ( is_category(array(2,37)) )
{
include(TEMPLATEPATH . ‘/category1.php’);
}
else
{
include(TEMPLATEPATH . ‘/archive.php’);
}
?>[/B]All i want to do is integrate the code below with category1 above, but do not how to do it.
[B]<?php query_posts(‘category_name=special_cat&showposts=10’); ?>[/B]
help highly appreciated.
nirav
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘I am stuck with categories, Need your help. Urgent!’ is closed to new replies.