get_the_posts_pagination


get_the_posts_pagination ( $args = array() )

Parameters:
  • (array) args { Optional. Default pagination arguments, see paginate_links(). @type string $screen_reader_text Screen reader text for navigation element. Default 'Posts navigation'. @type string $aria_label ARIA label text for the nav element. Default 'Posts'. @type string $class Custom class for the nav element. Default 'pagination'. }
Returns:
  • (string) Markup for pagination links.
Defined at:
Change Log:
  • 5: .
  • 5: .

Description

Retrieves a paginated navigation to next/previous set of posts, when applicable.

Related Functions

the_posts_pagination, get_the_comments_pagination, get_the_posts_navigation, get_the_post_navigation, the_comments_pagination

Top Google Results

User discussions

wpseek mobile