首页 WordPress函数大全 get_the_posts_pagination()

get_the_posts_pagination()

2020-05-02 / 4892阅 / 悠然

如何你看完本文还不知道如何使用该函数,可以联系我定制视频教程,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.

大家谈论
    我的见解