如何你看完本文还不知道如何使用该函数,可以联系我定制视频教程,50元/个函数,学不会全额退款
get_the_posts_pagination( array $args = array() )
Retrieves a paginated navigation to next/previous set of posts, when applicable.
参数
- $args
(array)
(Optional)
Default pagination arguments, see paginate_links().
- 'screen_reader_text'
(string) Screen reader text for navigation element. Default 'Posts navigation'. - 'aria_label'
(string) ARIA label text for the nav element. Default 'Posts'.
Default value: array()
返回
(string) Markup for pagination links.