Title: User Posts Per Page
Author: Samer Bechara
Published: <strong>2014 年 11 月 13 日</strong>
Last modified: 2014 年 11 月 20 日

---

搜索插件

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

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

![](https://s.w.org/plugins/geopattern-icon/user-posts-per-page_29799e.svg)

# User Posts Per Page

 作者：[Samer Bechara](https://profiles.wordpress.org/arbet01/)

[下载](https://downloads.wordpress.org/plugin/user-posts-per-page.1.0.1.zip)

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

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

## 描述

This plugin allows your website visitors to set the number of posts they see per
page. It will insert a form at the top of your posts page in order to allow your
website visitors to quickly set the number of posts they want to see per page.

_Detailed Features_

User Posts Per Page allows your website visitors to set the number of posts per 
page, and remembers that number everytime they reach your website.

 * Works with posts, pages and custom post types
 * Works on Category pages, tag pages, author pages, archive pages, and custom post
   type archive pages.
 * Number of posts per page remembered for logged in users
 * Cookie set for non-logged in users to remember settings
 * On network installs, network administrator is able to set the default number 
   of posts per page across the whole network

_Plugin Usage_

 * Go to Appearance->Widgets and add your widget to any sidebar of any archive page
 * Alternatively, you can use the shortcode [user_posts_per_page] to insert this
   in your theme using
    the function `echo do_shortcode('[user_posts_per_page]');`

## 安装

 1. Install your plugin as usual through the plugin installer inside wordpress admin
    or via manual upload
 2. If this is a network install, go to Network Admin->User Posts Per Page and set 
    default settings there
 3. Go to Settings->User Posts Per Page and define your website settings there.
 4. Go to appearance->widgets and enable it on your sidebar, or use the shortcode found
    on the settings page

## 常见问题

  Do I need a network install for this to work?

No, it works on any website normally. However, if activated on a network installation,
it adds some options that are specific to network websites.

  My widget is not showing, why?

The widget only shows in the sidebar of your archive pages, e.g. is_archive() function
is true
 If you have no sidebar on your taxonomy pages, you will need to manually
add the shortcode [user_posts_per_page] to your theme

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

 *   [ Samer Bechara ](https://profiles.wordpress.org/arbet01/)

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

### 对开发感兴趣吗?

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

## 更新日志

#### 1.0

 * Initial Release

## 额外信息

 *  版本 **1.0.1**
 *  最后更新：**12 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 3.3 或更高版本 **
 *  已测试的最高版本为 **4.0.38**
 *  语言
 * [English (US)](https://wordpress.org/plugins/user-posts-per-page/)
 * 标签
 * [count](https://cn.wordpress.org/plugins/tags/count/)[marketpress](https://cn.wordpress.org/plugins/tags/marketpress/)
   [pagination](https://cn.wordpress.org/plugins/tags/pagination/)[taxonomies](https://cn.wordpress.org/plugins/tags/taxonomies/)
   [user](https://cn.wordpress.org/plugins/tags/user/)
 *  [高级视图](https://cn.wordpress.org/plugins/user-posts-per-page/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/user-posts-per-page/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/user-posts-per-page/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/user-posts-per-page/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/user-posts-per-page/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/user-posts-per-page/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/user-posts-per-page/reviews/#new-post)

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

## 贡献者

 *   [ Samer Bechara ](https://profiles.wordpress.org/arbet01/)

## 支持

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

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