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

Date Pagination

描述

This plugin provides an easy way to paginate posts by year, month or day in your theme’s template files. Use the native WordPress pagination functions to display the pagination links.

It’s likely your theme is already using these functions for normal pagination. If not, see if it works with your theme’s pagination or add them yourself.

To tell WordPress a page should be paginated by dates set the date_pagination_type query argument to yearly, monthly or daily for a custom query (WP_Query), or in the pre_get_posts action.

See the plugin documentation for examples and more information on how to use this plugin in your theme.

Follow this plugin on GitHub

安裝

Follow these instructions to install the plugin.

  • Unzip the date-pagination.zip folder.
  • Upload the date-pagination folder to your /wp-content/plugins directory.
  • Activate date-pagination through the ‘Plugins’ menu in WordPress.
  • That’s it, now you are ready to use the plugin in your theme template files.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Date Pagination” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Date Pagination 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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