该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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.

评价

此插件暂无评价。

贡献者及开发者

“Date Pagination” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Date Pagination”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志