the_posts_pagination

函数
the_posts_pagination ( $args = array() )
参数
  • (array) $args Optional. See get_the_posts_pagination() for available arguments. Default empty array.
    Required:
    Default: array()
定义位置
相关方法
get_the_posts_paginationthe_comments_paginationthe_posts_navigationthe_post_navigationget_the_comments_pagination
引入
4.1.0
弃用
-

posts_pagination是一个WordPress函数,用于显示当前查询的分页链接。它可用于为用户提供轻松的导航以阅读上一组或下一组文章,并允许自定义分页输出。

在适用的情况下,显示一个分页导航到下一组/上一组文章。

function the_posts_pagination( $args = array() ) {
	echo get_the_posts_pagination( $args );
}

常见问题

FAQs
查看更多 >
闪电侠

(工作日 10:00 - 18:30 为您服务)

2025-12-05 19:32:59

您好,无论是售前、售后、意见建议……均可通过联系工单与我们取得联系。

您也可选择聊天工具与我们即时沟通或点击查看:

您的工单我们已经收到,我们将会尽快跟您联系!
取消
选择聊天工具: