這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

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〉的開發相關工作。

參與者

將〈User Posts Per Page〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0

  • Initial Release