Custom Post Limits
Version: 3.6
Independently control the number of posts listed on the front page, author/category/tag archives, search results, etc.
3.6
- Update plugin framework to version 034
- Fix problem where plugin settings page won't load for sites with a lot of authors, categories, and/or tags
- Fix correct_paged_offset() to only operate against main query
- By default, disable listing of limits for individual authors, categories, and tags
- Add filter 'c2c_cpl_enable_all_individual_limits' to allow enabling limits for all individual authors, categories, and tags (supersedes the specific limits)
- Add filter 'c2c_cpl_enable_all_individual_author_limits' to allow enabling limits for individual authors
- Add filter 'c2c_cpl_enable_all_individual_category_limits' to allow enabling limits for individual categories
- Add filter 'c2c_cpl_enable_all_individual_tag_limits' to allow enabling limits for individual tags
- Remove support for 'c2c_custom_post_limits' global
- Note compatibility through WP 3.3+
- Regenerate .pot
- Change plugin description
- Add 'Domain Path' directive to top of main plugin file
- Add link to plugin directory page to readme.txt
- Tweak installation instructions in readme.txt
- Update screenshot for WP 3.3
- Add second screenshot
- Update copyright date (2012)
3.5
- Add support for different paged (non-first page) limits for each section (each requires separate setting)
- Re-implement/fix display and saving of individual authors/categories/tags limit
- Hide individual author/category/tag limits by default (via JS, so still works for non-JSers)
- Update plugin framework to version 027
- Fix to properly register activation and uninstall hooks
- Save a static version of itself in class variable $instance
- Rename class from 'CustomPostLimits' to 'c2c_CustomPostLimits'
- Remove placeholder settings: individual_authors, individual_categories, and individual_tags
- Remove functions: register_individual_archive_options(), pre_display_option()
- Add functions: save_individual_options(), correct_paged_offset()
- Use get_users() in get_authors() rather than constructing query
- Explicitly declare all functions as public
- Note compatibility through WP 3.2+
- Drop compatibility with versions of WP older than 3.1
- Add more PHPDoc
- Update screenshot
- Regenerate .pot
- Minor tweaks to code formatting (spacing)
- Update copyright date (2011)
3.0
- Only output plugin's admin JS on its own page
- Better localization support
- Store plugin instance in global variable, $c2c_custom_post_limits, to allow for external manipulation
- Re-implementation by extending C2C_Plugin_009, which adds support for:
** Better sanitization of input values
** Offload of core/basic functionality to generic plugin framework
** Additional hooks for various stages/places of plugin operation
** Easier localization support
- Remove docs from top of plugin file (all that and more are in readme.txt)
- Note compatibility with WP 3.0+
- Minor tweaks to code formatting (spacing)
- Add Upgrade Notice section to readme.txt
- Remove trailing whitespace
2.6
- Revert post limiting back to hooking 'pre_option_posts_per_page' rather than filtering 'post_limits' (fixes bug introduced in v2.5)
- Fix bug related to individual author/category/tag limits not applying (the primary intent of the v2.5 release, but needed re-fixing due to reversion)
- Fix bug preventing value of individual limits from appearing on settings page (the value had been saved and used properly, though)
- Add 'Reset Settings' button to facilitate resetting all limits configured via the plugin
- Internal: add get_authors(), get_categories(), get_tags() to retrieve and buffer those respective values if actually needed
- Update object's option buffer after saving changed submitted by user
- Add PHPDoc documentation
- Minor documentation tweaks
2.5
- 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 WP 2.9+
2.0
- Changed how post limiting is achieved by hooking 'pre_option_posts_per_page' rather than filtering 'post_limits'
- Simplified custom_post_limits()
- Changed permission check to access settings page
- Used plugins_url() instead of hardcoded path
- Removed compatibility with versions of WP older than 2.6
- Noted compatibility with WP2.8
- Began initial effort for localization
- Fixed edge-case bug causing limiting to occur when not appropriate
- Fixed bug with tag names not appearing
1.5
- NEW:
- Added ability to specify limit on a per-category, per-author, and per-tag basis
- Added ability to show all posts (i.e no limit, via a limit of -1)
- Added "Settings" link next to "Activate"/"Deactivate" link next to the plugin on the admin plugin listings page
- CHANGED:
- Tweaked plugin's admin options page to conform to newer WP 2.7 style
- Extended compatibility to WP 2.7+
- Updated installation instructions, extended description, copyright
- Facilitated translation of some text
- Memoized options
- In admin options page, due to difference b/w WP <2.5 and >2.5, link text for options page is just referred to as "here"
- FIXED:
- Prevent post limiting from occurring in the admin listing
- Fixed plugin path problem in recent versions of WP
- Fixed post paging (next_posts_link()/previous_posts_link()) was not taking post limit into account
1.0
Requires: 3.1 or higher
Compatible up to: 3.3.2
Last Updated: 2010-1-5
Downloads: 16,695
Average Rating
(21 ratings)
Support
Got something to say? Need help?