the_comments_pagination() WordPress Function

The the_comments_pagination() function enables users to paginate through comments on a WordPress post or page. This function can be used with either the native WordPress comments system or the Disqus comments system. By default, the the_comments_pagination() function will display a maximum of 10 comments per page.

the_comments_pagination( array $args = array() ) #

Displays a paginated navigation to next/previous set of comments, when applicable.


Parameters

$args

(array)(Optional)See get_the_comments_pagination() for available arguments.

Default value: array()


Top ↑

Source

File: wp-includes/link-template.php

function the_comments_pagination( $args = array() ) {
	echo get_the_comments_pagination( $args );
}


Top ↑

Changelog

Changelog
VersionDescription
4.4.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