the_posts_navigation() WordPress Function
The the_posts_navigation() function is used to display the links for navigating between posts. This function is typically used on blog pages to allow the user to move between the next and previous posts.
the_posts_navigation( array $args = array() ) #
Displays the navigation to next/previous set of posts, when applicable.
Parameters
- $args
(array)(Optional) See get_the_posts_navigation() for available arguments.
Default value: array()
Source
File: wp-includes/link-template.php
function the_posts_navigation( $args = array() ) { echo get_the_posts_navigation( $args ); }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
4.1.0 | Introduced. |