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()


Top ↑

Source

File: wp-includes/link-template.php

function the_posts_navigation( $args = array() ) {
	echo get_the_posts_navigation( $args );
}


Top ↑

Changelog

Changelog
VersionDescription
4.1.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More
Show More