Title: Custom Posts Per Page Reloaded
Author: WPZOOM
Published: <strong>2021 年 1 月 30 日</strong>
Last modified: 2026 年 8 月 11 日

---

搜索插件

![](https://ps.w.org/custom-posts-per-page-reloaded/assets/banner-772x250.png?rev
=3657678)

![](https://ps.w.org/custom-posts-per-page-reloaded/assets/icon-256x256.png?rev=
3657678)

# Custom Posts Per Page Reloaded

 作者：[WPZOOM](https://profiles.wordpress.org/wpzoom/)

[下载](https://downloads.wordpress.org/plugin/custom-posts-per-page-reloaded.2.0.1.zip)

 * [详情](https://cn.wordpress.org/plugins/custom-posts-per-page-reloaded/#description)
 * [评价](https://cn.wordpress.org/plugins/custom-posts-per-page-reloaded/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/custom-posts-per-page-reloaded/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/custom-posts-per-page-reloaded/#developers)

 [支持](https://wordpress.org/support/plugin/custom-posts-per-page-reloaded/)

## 描述

Custom Posts Per Page Reloaded allows you to specify how many posts are displayed
per page depending on your current view. Once settings are changed, the _Blog pages
show at most_ setting in the _Reading_ menu will be ignored.

Settings are available for:

 * Home (Index) Page
    - As long as view is set to blog posts, not static page.
 * Category Pages
 * Tag Pages
 * Author Pages
 * Archive Pages
 * Search Pages
 * Default Page (_Any page not covered above._)
 * Custom Post Type archive pages
    - All Custom Post Types are detected automatically.

Each of the above settings can have a different value for the first page displayed**
and** subsequent paged views.

Custom Posts Per Page makes it easy to manage exactly how your content is displayed
to your readers, especially when different views have different layouts, rather 
than relying on the single setting in the Reading menu or having to hard code options
in your custom theme.

This is a fork (an updated clone) of [Custom Posts Per Page](https://wordpress.org/plugins/custom-posts-per-page/)
by [Jeremy Felt](https://jeremyfelt.com/).

## 屏幕截图

[⌊An overview of the Custom Posts Per Page settings screen.⌉⌊An overview of the 
Custom Posts Per Page settings screen.⌉[

An overview of the Custom Posts Per Page settings screen.

## 安装

 1. Upload the ‘custom-posts-per-page-reloaded’ folder to your plugin directory, usually‘
    wp-content/plugins/’, or install automatically via your WordPress admin page.
 2. Activate Custom Posts Per Page Reloaded in your plugin menu.
 3. Configure using the Posts Per Page menu under Settings in your admin page. (_See
    Screenshot_)

That’s it! The current setting for _Blog pages show at most_ under _Reading_ will
be used to fill in the default values. You can take over from there.

## 常见问题

### What are you doing with found_posts?

 * An issue was appearing in plugins that assisted with pagination when the setting
   for posts per page was different from subsequent pages. To resolve this issue,
   we do some math and return an incorrect found_posts value when that scenario 
   occurs. This doesn’t affect any core WordPress functionality, but could confuse
   other plugins that are looking for a correct value. I wouldn’t worry about this
   much, but keep it in mind if you are seeing issues _and_ have two different values
   entered as described.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Custom Posts Per Page Reloaded」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ WPZOOM ](https://profiles.wordpress.org/wpzoom/)
 *   [ Pavel Ciorici ](https://profiles.wordpress.org/ciorici/)

[帮助将「Custom Posts Per Page Reloaded」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/custom-posts-per-page-reloaded)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/custom-posts-per-page-reloaded/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/custom-posts-per-page-reloaded/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/custom-posts-per-page-reloaded/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/custom-posts-per-page-reloaded/)。

## 更新日志

#### 2.0.1

 * Fixed a wrong operator in the paged view check that could prevent per-page settings
   from applying on paged views.
 * Fixed PHP 8+ warnings when options were missing or not yet saved.
 * Fixed the found_posts correction being applied to secondary queries (widgets,
   related posts, etc.).
 * Changed the text domain to match the plugin slug so translations from WordPress.
   org load correctly.
 * On activation, default values are now filled in from the “Blog pages show at 
   most” Reading setting.
 * Improved output escaping on the settings page.

#### 2.0.0

 * Initial release.

## 额外信息

 *  版本 **2.0.1**
 *  最后更新：**2 月前**
 *  活跃安装数量 **600+**
 *  WordPress 版本 ** 6.5 或更高版本 **
 *  已测试的最高版本为 **7.1.3**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/custom-posts-per-page-reloaded/)
 * 标签
 * [archives](https://cn.wordpress.org/plugins/tags/archives/)[custom post type](https://cn.wordpress.org/plugins/tags/custom-post-type/)
   [posts](https://cn.wordpress.org/plugins/tags/posts/)[posts per page](https://cn.wordpress.org/plugins/tags/posts-per-page/)
   [settings](https://cn.wordpress.org/plugins/tags/settings/)
 *  [高级视图](https://cn.wordpress.org/plugins/custom-posts-per-page-reloaded/advanced/)

## 评级

尚未提交反馈。

[您的评价](https://wordpress.org/support/plugin/custom-posts-per-page-reloaded/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/custom-posts-per-page-reloaded/reviews/)

## 贡献者

 *   [ WPZOOM ](https://profiles.wordpress.org/wpzoom/)
 *   [ Pavel Ciorici ](https://profiles.wordpress.org/ciorici/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/custom-posts-per-page-reloaded/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://www.wpzoom.com/)