[Resolved] showposts with a tweak
I currently have this piece of code:
<?php query_posts(array('showposts' => 4, 'cat' => $cat )); ?>
it’s at the homepage and it shows 4 posts for all categories. But there is one category that want to show 8 posts instead. What can I do to have one special category with 8 posts showing and the remaining ones with 4 posts?
thanks in advance
- The topic ‘[Resolved] showposts with a tweak’ is closed to new replies.