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()
Source
File: wp-includes/link-template.php
function the_comments_pagination( $args = array() ) { echo get_the_comments_pagination( $args ); }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
4.4.0 | Introduced. |