Help with category posts page/pagination
-
Hi all,
I’ve got this code on my website (www.metal-exposure.com) (see below)to get my category posts Interview to show up on the Interview page. It works fine.
<?php
$catID = 0;
if (is_page(‘Interviews’)) {
$catID=232;
}
if ($catID) {
$paged = (get_query_var(‘paged’)) ? get_query_var(‘paged’) : 1;
query_posts(“cat=$catID&paged=$paged”);
}?>However, it shows 5 posts because of the general WordPress settings (The category contains 6 posts . Can I change this amount (specificly for this category) or how do I get pagination working so that people can browse to earlier posts?
I hope anyone can help me out, I’m not much of a hero when it comes to those codes. Or if there is a simpler solution, that would be fine to!
The topic ‘Help with category posts page/pagination’ is closed to new replies.