Linux 软件免费装
Banner图

Custom Post Limits

开发者 coffee2code
更新时间 2021年4月14日 16:26
捐献地址: 去捐款
PHP版本: 4.9 及以上
WordPress版本: 5.7
版权: GPLv2 or later
版权网址: 版权信息

标签

posts tags categories limit query listing coffee2code archives front page

下载

2.5 4.1 4.4 4.4.1 1.5 2.0 2.6 3.5 3.6 4.0.2 4.2 4.2.1 4.2.2 4.3

详情介绍:

Control the number of posts that appear on the front page, search results, and author, category, tag, custom post type, custom taxonomy, and date archives, independent of each other, including specific archives. By default, WordPress provides a single configuration setting to control how many posts should be listed in each section of your blog. This value applies for the front page listing, author listings, archive listings, category listings, tag listings, custom post type listings, custom taxonomy listings, and search results. This plugin allows you to override that value for each of those different sections. Specifically, this plugin allows you to define limits for: If the limit field is empty or 0 for a particular section type, then the default post limit will apply. If the value is set to -1, then there will be NO limit for that section (meaning ALL posts will be shown). The Archives Limit value is also treated as the default limit for Day, Month, and Year archives, unless those are explicitly defined. Links: Plugin Homepage | Plugin Directory Page | GitHub | Author Homepage

安装:

  1. Whether installing or updating, whether this plugin or any other, it is always advisable to back-up your data before starting
  2. Install via the built-in WordPress plugin installer. Or download and unzip custom-post-limits.zip inside the plugins directory for your site (typically /wp-content/plugins/).
  3. Activate the plugin through the 'Plugins' admin menu in WordPress
  4. Click the plugin's Settings link next to its Deactivate link (still on the Plugins page), or click on the Settings -> Post Limits link, to go to the plugin's admin settings page. Optionally customize the limits.

屏幕截图:

  • A screenshot of the plugin's admin settings page (with individual categories limits expanded) (top half of page). (Note: Screenshot hasn't been updated to include fields for defining limits for custom taxonomies.)
  • A screenshot of the plugin's admin settings page (with individual categories limits expanded) (bottom half of page). (Note: Screenshot hasn't been updated to include fields for defining limits for custom taxonomies.)

升级注意事项:

4.4.1 Recommended bugfix release: fixed a bug preventing settings from getting saved; updated plugin framework to v061 4.4 Minor release: updated plugin framework to v060, noted compatibility through WP 5.7+, and updated copyright date (2021). 4.3 Recommended update: prevented plugin settings page timeouts for sites with lots of authors/categories/tags, fixed pagination page counts, omitted limit fields for non-authors, added TODO.md file, expanded unit testing, changed compatibility to be WP 4.9-5.4+, and more. 4.2.2 Recommended bugfix update: This release fixes a number of minor bugs. 4.2.1 Trivial update: modernized unit tests, noted compatibility through WP 5.3+, and updated copyright date (2020) 4.2 Minor update: tweaked plugin initialization, updated plugin framework to v049, noted compatibility through WP 5.1+, created CHANGELOG.md to store historical changelog outside of readme.txt, and updated copyright date (2019) 4.1 Recommended update: added support for setting limits for custom taxonomies; updated plugin framework to v048; compatibility is now WP 4.7-4.9; added README.md; more. 4.0.2 Trivial update: updated unit test bootstrap file, noted compatibility through WP 4.7+, and updated copyright date 4.0.1 Minor update: noted compatibility through WP 4.6+; updated plugin framework. 4.0 Recommended major update: added support to set limits for custom post types; 'archives_paged_limit' is now a fallback for paged date archives; compatibility is now WP 4.1-4.5; added unit tests; lots of backend improvements. 3.6 Recommended update: disabled support for individual archive limits by default (configurable) to help sites with lots of authors/categories/tags; noted compatibility through WP 3.3+; updated plugin framework; and more. 3.5 Recommended update: support different non-first-page limits; re-implemented display/handling of individual category/tag/author limits; noted compatibility through WP 3.2+, drop compatibility with WP 3.0; and more. 3.0 Recommended update. Highlights: verified WP 3.0 compatibility.

更新日志:

4.4.1 (2021-04-14) 4.4 (2021-04-07) Highlights: Details: 4.3 (2020-06-16) Highlights: Details: 4.2.2 (2019-12-21) Highlights: This release fixes a number of minor bugs. Details: Full changelog is available in CHANGELOG.md.