This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Posts Per Category

Description

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.

Screenshots

  • The Posts Per Category settings panel. You can add categories and change the number of posts that show on their archives or in their feed.
  • New fields for changing the settings when editing a category.

Reviews

Read all 5 reviews

Changelog

0.1.2

Fixed a bug causing PPC arguments to override every pre_get_posts filter in a request. Limited argument to is_main_query().

0.1.1

Updated HTML structure and CSS for WordPress 3.4 comptability.

0.1

Initial release.

Contributors & Developers

Posts Per Category is open source software. The following people have contributed to this plugin.

Contributors

Browse the code