With WordPress, you have the ability to change the number of posts that appear in a typical loop or in a feed, but it’s a global change that affects every loop or feed on your site. Posts Per Category remedies that at the category level, giving you control over the number of posts that appear on a category archive page or in a category feed. You just choose a category, enter the number of posts you want to show on the archive page and in the feed, and click “Save.” It’s that easy.
Posts Per Category was originally created to allow Pat Flynn of Smart Passive Income to change the number of items that appeared in his podcast category feed. Listeners were wondering why they couldn’t see more than the ten latest episodes of his popular podcast in iTunes. The reason turned out to be that his podcast category feed was limited by the global setting in the Reading panel. He couldn’t change that number without changing the length of every single feed in WordPress and there didn’t appear to be any solutions available, which is why he worked with us to create Posts Per Category.
Installing Posts Per Category is just like installing most other plugins. Check out the codex if you have any questions.
After installation, you can find the Posts Per Category settings under the main Settings menu item in your admin panel, or as an alternative, you can edit categories directly to change the settings. Take a look at the screenshots for an example.
Working great and doing exactly what it needs to do!
Contributors & Developers
“Posts Per Category” is open source software. The following people have contributed to this plugin.Contributors
Interested in development?
Fixed a bug causing PPC arguments to override every pre_get_posts filter in a request. Limited argument to is_main_query().
Updated HTML structure and CSS for WordPress 3.4 comptability.