Title: Easy Pagination Control
Author: difficult13
Published: <strong>2020 年 8 月 12 日</strong>
Last modified: 2021 年 5 月 19 日

---

搜索插件

![](https://ps.w.org/easy-pagination-control/assets/banner-772x250.png?rev=2359375)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/easy-pagination-control/assets/icon-256x256.png?rev=2359375)

# Easy Pagination Control

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

[下载](https://downloads.wordpress.org/plugin/easy-pagination-control.zip)

 * [详情](https://cn.wordpress.org/plugins/easy-pagination-control/#description)
 * [评价](https://cn.wordpress.org/plugins/easy-pagination-control/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/easy-pagination-control/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/easy-pagination-control/#developers)

 [支持](https://wordpress.org/support/plugin/easy-pagination-control/)

## 描述

This plugin is designed to create a convenient page for pagination settings for 
the main wordpress entities, including custom types.
 You can only work with the
main wordpress query using the “pre_get_posts” hook. Other requests are ignored,
which eliminates conflicts with the current theme settings. When developing the 
plugin, the emphasis was placed on maximum simplicity and minimalism. After installation,
the plugin must be configured. To do this, go to the “Easy Pagination Control” tab
and set the desired number of elements on the page for each entity. The plugin was
created in order to have more control over the number of elements on pages within
the main WP query, since by default, WP offers to specify the number of elements
for all pages at once. *Since version 1.1.0, Customizer support has been added, 
so you can now configure pagination directly in the frontend *Since version 1.1.2,
the public function easy_pagination_control_get_ppp($Entity) has been added. As 
an argument, it gets the name of the entity (‘Front-Page’, ‘Home’, ‘categories’,‘
Tags’, ‘Search’, or post type’s slug, or taxonomy’s slug). Returns the number of
elements on the page.

## 屏幕截图

[⌊The Easy Pagination Plugin settings⌉⌊The Easy Pagination Plugin settings⌉[

The Easy Pagination Plugin settings

[⌊The Easy Pagination Plugin in Customizer⌉⌊The Easy Pagination Plugin in Customizer⌉[

The Easy Pagination Plugin in Customizer

[⌊Built-in section in Customizer⌉⌊Built-in section in Customizer⌉[

Built-in section in Customizer

[⌊Post Types section in Customizer⌉⌊Post Types section in Customizer⌉[

Post Types section in Customizer

## 安装

 1. Login to your WordPress admin and go to Plugins -> Add New
 2. Type “Easy Pagination Control” in the search bar and select this plugin
 3. Click “Install”, and then “Activate Plugin”

## 常见问题

### Can I configure pagination for my own post types?

Yes, if the main WP query is used to output posts to the archive

### Why was this plugin created?

For more control over pagination within the main WP query

## 评价

此插件暂无评价。

## 贡献者及开发者

「Easy Pagination Control」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ difficult13 ](https://profiles.wordpress.org/difficult13/)
 *   [ pet1t ](https://profiles.wordpress.org/pet1t/)

「Easy Pagination Control」插件已被翻译至 1 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/easy-pagination-control/contributors)
为本插件所做的贡献。

[帮助将「Easy Pagination Control」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/easy-pagination-control)

### 对开发感兴趣吗?

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

## 更新日志

= 1.1.3=
 * Fix an erroneous link to the settings page * Added slugs to terms on
the settings page to avoid name collisions

= 1.1.2=
 * Add public function easy_pagination_control_get_ppp($entity). This function
allows you to extract the number of posts per page for the specified entity.

#### 1.1.1

 * Add advanced is_front_page() function for static front page compatibilities
 * Simplified method for determining the archive page of a post type

#### 1.1.0

 * Change “Options API” to “Settings API”
 * Moved the plugin settings page to the standard WP section “Reading”
 * General code refactoring
 * Reduced the priority of the “pre_get_posts” event to reduce the chances of conflicts
   with other pagination plugins
 * Added support for Customizer
 * Update readme

#### 1.0.5

 * Add ‘option_posts_per_page’ hook to return the correct number of elements on 
   the page when using this plugin

#### 1.0.4

 * Now plugin styles and scripts are enabled only on the plugin page

#### 1.0.3

 * Update requirements for plugin (php7.0)
 * Update readme
 * Fix taxonomy pagination
 * Add search page options
 * Change default language to en_US

#### 1.0.2

 * Set required attr to input field
 * Update readme

#### 1.0.1

 * Fix bug with default update template
 * Fix bug with disabled button after error try
 * Change ‘<?=’ to ‘<?php echo’ for better compatibility
 * Added error handler for ajax
 * All data is output from the database via escape functions
 * Added escaping for default option template
 * Added additional array-checking for form data
 * Added additional validation of the number of elements on the page before writing
   to the database
 * Added sanitize function for “name” option
 * Added additional verification of user rights before saving changes
 * Added nonce field for the plugin form
 * Add plugin description to pot
 * Set the unique namespace for plugin
 * Change class’s names to ‘StudlyCase’
 * Share the plugin to github

## 额外信息

 *  版本 **1.1.3**
 *  最后更新：**5 年前**
 *  活跃安装数量 **30+**
 *  WordPress 版本 ** 5.4.2 或更高版本 **
 *  已测试的最高版本为 **5.7.15**
 *  PHP 版本 ** 7.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/easy-pagination-control/) 和 [Russian](https://ru.wordpress.org/plugins/easy-pagination-control/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/easy-pagination-control)
 * 标签
 * [control](https://cn.wordpress.org/plugins/tags/control/)[easy](https://cn.wordpress.org/plugins/tags/easy/)
   [pagination](https://cn.wordpress.org/plugins/tags/pagination/)[usability](https://cn.wordpress.org/plugins/tags/usability/)
 *  [高级视图](https://cn.wordpress.org/plugins/easy-pagination-control/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/easy-pagination-control/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/easy-pagination-control/reviews/)

## 贡献者

 *   [ difficult13 ](https://profiles.wordpress.org/difficult13/)
 *   [ pet1t ](https://profiles.wordpress.org/pet1t/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/easy-pagination-control/)