Package/plugin/module WordPress

Custom Post Limits v2.5

I’d lke to announce the official release of the updated Custom Post Limits plugin (v2.5) for WordPress.

Control the number of posts that appear on the front page, search results, and author, category, tag, and date archives, independent of each other, including specific archives.

This release features a reimplemented approach to post limiting, notes WP2.9+ compatibility, drops support for pre-WP2.8, fixes a bug preventing individual author/category/tag limits from applying, and fixes an IE8 JavaScript compatibility bug.

The plugin’s official homepage is located at :

Comments welcome on this post for this version of the plugin. Comments will be closed once this release has been superseded by another.

Read more for a detailed ChangeLog of the release.

Detailed ChangeLog

These are the detailed changes, some of which may or may not make sense to you depending on your familiarity with the previous features and internals of the plugin.

  • Reverted post limiting method used to filtering ‘post_limits’ again rather than hooking ‘pre_option_posts_per_page’
  • Fixed bug related to individual author/category/tag limits not applying
  • Changed invocation of plugin’s install function to action hooked in constructor rather than in global space
  • Changed unobtrusively added JavaScript click events to return false, rather than depending on an embedded JS call in link (fixes IE8 compatibility)
  • Added full support for localization
  • Used admin_url() instead of hardcoded admin path
  • Removed compatibility with versions of WP older than 2.8
  • Noted compatibility with WP2.9.1

7 replies on “Custom Post Limits v2.5”

After upgrading all my “Newer posts” and “Older posts” links disappeared.
But after a simple “disable/enable plugin” it worked again.
Is this normal? And if so, think about adding that information to your plugin page on To lessen the momentary confusion 😉

After upgrading all my “Newer posts” and “Older posts” links disappeared. But after I disabled the plugin, then enabling it again, it works just fine.
Is this normal? If so, you should consider adding this info to your description on To lessen the momentary confusion 😉

Hi Scott

I love this plugin but over the last few days i have had issues which seem to have come about since the latest upgrade.

I went to this forum and the issues can be seen here.

Basically the plugin is now interfering with the Suffusion featured content and the enhanced recent posts widget on my sidebar.

It will not allow me to have 30 recent posts and whatever i set Post Limits in your plugin to is shown in the recent posts sidebar and the featured content is also affected. Before the latest update it all worked like a charm.

Is it possible to get a download of the last version before the update ( assuming this cannot be fixed )


canfree: The plugin has full localization support, so it supports other languages as long as a translation file has been provided. I do not have a Chinese translation file at the moment.

Everyone else: Please give v2.6 a try. I reverted back to the post limiting method used in v2.0 (the version prior to v2.5) but fixed the issues I intended to fix in v2.5. So it should be better in all regards. Thanks for the bug reports!

Comments are closed.