I know that in the WP Admin I can set the number of posts per page as a global variable, but I have a Category template where I’d like to be able to specify the posts per page for only that category (I don’t want to use a widget, I want this hard-coded into the category-11.php category template). Can anyone tell me what that code should look like? I’m sure this can’t be as hard as I’m trying to make it!
I’m not a PHP wiz, so a complete piece of code would be ideal.
Thanks a million!
- The topic ‘Define posts per page in a Category Template’ is closed to new replies.