AI助手支持GPT4.0
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.
使用本机 WordPress分页功能来显示分页链接。
p>
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.
如果不是,请查看它是否可以与您的主题的分页一起使用,或者您可以自己添加它们。 p>
To tell WordPress a page should be paginated by dates set the date_pagination_type query argument to yearly, monthly or daily要告诉WordPress页面应按日期分页,请将 date_pagination_type code>查询参数设置为每年 code>,每月 code>或每天 code> for a custom query (WP_Query), or in the WP_Query )或在/codex.wordpress.org/Plugin_API/Action_Reference/pre_get_posts" rel="nofollow">pre_get_posts action./codex.wordpress.org/Plugin_API/Action_Reference/pre_get_posts“ rel =” nofollow“> pre_get_posts 操作。 p>See the plugin documentation for examples and more information on how to use this plugin in your请参见插件文档,以获取示例以及有关如何在您的产品中使用此插件的信息。theme.主题。 p>Follow this plugin on GitHub在 GitHub p>上关注此插件
date_pagination_type
yearly
monthly
daily要告诉WordPress页面应按日期分页,请将 date_pagination_type code>查询参数设置为每年 code>,每月 code>或每天 code> for a custom query (WP_Query), or in the WP_Query )或在/codex.wordpress.org/Plugin_API/Action_Reference/pre_get_posts" rel="nofollow">pre_get_posts action./codex.wordpress.org/Plugin_API/Action_Reference/pre_get_posts“ rel =” nofollow“> pre_get_posts 操作。 p>See the plugin documentation for examples and more information on how to use this plugin in your请参见插件文档,以获取示例以及有关如何在您的产品中使用此插件的信息。theme.主题。 p>Follow this plugin on GitHub在 GitHub p>上关注此插件
要告诉WordPress页面应按日期分页,请将 date_pagination_type code>查询参数设置为每年 code>,每月 code>或每天 code> for a custom query (WP_Query), or in the WP_Query )或在/codex.wordpress.org/Plugin_API/Action_Reference/pre_get_posts" rel="nofollow">pre_get_posts action./codex.wordpress.org/Plugin_API/Action_Reference/pre_get_posts“ rel =” nofollow“> pre_get_posts 操作。 p>See the plugin documentation for examples and more information on how to use this plugin in your请参见插件文档,以获取示例以及有关如何在您的产品中使用此插件的信息。theme.主题。 p>Follow this plugin on GitHub在 GitHub p>上关注此插件
date_pagination_type code>查询参数设置为每年 code>,每月 code>或每天 code> for a custom query (WP_Query), or in the WP_Query )或在/codex.wordpress.org/Plugin_API/Action_Reference/pre_get_posts" rel="nofollow">pre_get_posts action./codex.wordpress.org/Plugin_API/Action_Reference/pre_get_posts“ rel =” nofollow“> pre_get_posts 操作。 p>See the plugin documentation for examples and more information on how to use this plugin in your请参见插件文档,以获取示例以及有关如何在您的产品中使用此插件的信息。theme.主题。 p>Follow this plugin on GitHub在 GitHub p>上关注此插件
每年 code>,每月 code>或每天 code> for a custom query (WP_Query), or in the WP_Query )或在/codex.wordpress.org/Plugin_API/Action_Reference/pre_get_posts" rel="nofollow">pre_get_posts action./codex.wordpress.org/Plugin_API/Action_Reference/pre_get_posts“ rel =” nofollow“> pre_get_posts 操作。 p>See the plugin documentation for examples and more information on how to use this plugin in your请参见插件文档,以获取示例以及有关如何在您的产品中使用此插件的信息。theme.主题。 p>Follow this plugin on GitHub在 GitHub p>上关注此插件
每月 code>或每天 code> for a custom query (WP_Query), or in the WP_Query )或在/codex.wordpress.org/Plugin_API/Action_Reference/pre_get_posts" rel="nofollow">pre_get_posts action./codex.wordpress.org/Plugin_API/Action_Reference/pre_get_posts“ rel =” nofollow“> pre_get_posts 操作。 p>See the plugin documentation for examples and more information on how to use this plugin in your请参见插件文档,以获取示例以及有关如何在您的产品中使用此插件的信息。theme.主题。 p>Follow this plugin on GitHub在 GitHub p>上关注此插件
每天 code> for a custom query (WP_Query), or in the WP_Query )或在/codex.wordpress.org/Plugin_API/Action_Reference/pre_get_posts" rel="nofollow">pre_get_posts action./codex.wordpress.org/Plugin_API/Action_Reference/pre_get_posts“ rel =” nofollow“> pre_get_posts 操作。 p>See the plugin documentation for examples and more information on how to use this plugin in your请参见插件文档,以获取示例以及有关如何在您的产品中使用此插件的信息。theme.主题。 p>Follow this plugin on GitHub在 GitHub p>上关注此插件
code> for a custom query (WP_Query), or in the WP_Query )或在
/codex.wordpress.org/Plugin_API/Action_Reference/pre_get_posts" rel="nofollow">pre_get_posts action.
/codex.wordpress.org/Plugin_API/Action_Reference/pre_get_posts“ rel =” nofollow“> pre_get_posts 操作。 p>
See the plugin documentation for examples and more information on how to use this plugin in your
请参见插件文档,以获取示例以及有关如何在您的产品中使用此插件的信息。
theme.
主题。 p>
Follow this plugin on GitHub
在 GitHub p>上关注此插件
Follow these instructions to install the plugin.
按照以下说明安装插件。 p>
date-pagination.zip
date-pagination.zip code>文件夹。 li>Upload the date-pagination folder to your /wp-content/plugins directory.将 date-pagination code>文件夹上传到您的 / wp-content / plugins code>目录。 li>Activate date-pagination through the ‘Plugins’ menu in WordPress.通过WordPress中的“插件”菜单激活日期分页 em>。 li>That’s it, now you are ready to use the plugin in your theme template files.就这样,现在您可以在主题模板文件中使用插件了。 li>
date-pagination
/wp-content/plugins
date-pagination code>文件夹上传到您的 / wp-content / plugins code>目录。 li>Activate date-pagination through the ‘Plugins’ menu in WordPress.通过WordPress中的“插件”菜单激活日期分页 em>。 li>That’s it, now you are ready to use the plugin in your theme template files.就这样,现在您可以在主题模板文件中使用插件了。 li>
/ wp-content / plugins code>目录。 li>Activate date-pagination through the ‘Plugins’ menu in WordPress.通过WordPress中的“插件”菜单激活日期分页 em>。 li>That’s it, now you are ready to use the plugin in your theme template files.就这样,现在您可以在主题模板文件中使用插件了。 li>
通过WordPress中的“插件”菜单
ul>
原文出处:http://www.sanshu.cn/a/10241.html
群主管理都是支付大佬