Categories

Custom Post Limits

Author:Scott Reilly
Version:2.6
Last update:04 Jan 2010
Compatibility:WP 2.8+, 2.9+
Comments:go here
Download:[ zip ]
Description:

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.

Extended Description

By default, WordPress provides a single configuration option to control how many posts should be listed on your blog. This value applies for the front page listing, archive listings, category listings, tag listings, and search results. Custom Post Limits allows you to override that value for each of those different sections.

Specifically, this plugin allows you to define limits for:

* Authors archives (the archive listing of posts for any author)
* Author archives (the archive listing of posts for any specific author)
* Categories archives (the archive listings of posts for any category)
* Category archive (the archive listings of posts for any specific category)
* Date-based archives (the archive listings of posts for any date)
* Day archives (the archive listings of posts for any day)
* Front page (the listing of posts on the front page of the blog)
* Month archives (the archive listings of posts for any month)
* Search results (the listing of search results)
* Tags archives (the archive listings of posts for any tag)
* Tag archive (the archive listings of posts for any specific tag)
* Year archives (the archive listings of posts for any year)

If you don’t specify a limit value for a particular section type, then the default post limit will apply.

Find out more at the plugin’s WordPress Plugin Repository page.

Screenshot

Screenshot of the plugin's admin settings page
Screenshot of the plugin’s admin settings page

Installation

  1. Download the file custom-post-limits.zip and unzip it into your wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ admin menu in WordPress
  3. Click the plugin’s ‘Settings’ link next to its ‘Deactivate’ link (still on the Plugins page), or click on the Settings → Post Limits, to go to the plugin’s admin settings page. Optionally customize the limits.

Release Log

  • 04 Jan 2010 : v2.6 — Release Notes. Highlights: Reverted back to v2.0 post limiting method, but fixed individual archive limiting; add “Reset Settings” feature; add code documentation
  • 30 Dec 2009 : v2.5 — Release Notes. Highlights: Reverted approach to post limiting; noted WP2.9+ compatibility; dropped pre-WP2.8 compatibility; added full localization support; bug fixes.
  • 16 Jul 2009 : v2.0 — Release Notes. Highlights: Reimplemented approach to post limiting employed by the plugin; noted WP2.8+ compatibility; dropped pre-WP2.6 support; fixed a couple minor bugs.
  • 01 Apr 2009 : v1.5 — Release Notes
  • 31 Mar 2008 : v1.0 — Release Notes

Copyright & Disclaimer

Copyright © 2008-2010 by Scott Reilly (aka coffee2code)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

14 replies on “Custom Post Limits”

Leave a Reply

Your email address will not be published.