WordPress template tags paginate_ comments_ Links output digital form of comments page navigation, usually used in custom comment template.
paginate_comments_links( array $args = array() )
Function parameters$args
Array. The default values are as follows:
$defaults = array( 'base' => add_query_arg( 'cpage', '%#%' ), 'format' => '', 'total' => $max_page, 'current' => $page, 'echo' => true, 'add_fragment' => '#comments' );
Examples of function usage
<div class="navigation"> <?php paginate_comments_links(); ?> </div> <ol class="commentlist"> <?php wp_list_comments(); ?> </ol> <div class="navigation"> <?php paginate_comments_links(); ?> </div>
Extended reading
paginate_ comments_ The links() function is located at: WP includes / link- template.php
Related tags:
- cancel_ comment_ reply_ link()
- comment_ author()
- comment_ author_ email()
- comment_ author_ email_ link()
- comment_ author_ ip()
- comment_ author_ link()
- comment_ author_ rss()
- comment_ author_ url()
- comment_ author_ url_ link()
- comment_ class()
- comment_ date()
- comment_ excerpt()
- comment_ form_ title()
- comment_ form()
- comment_ id()
- comment_ id_ fields()
- comment_ reply_ link()
- comment_ text()
- comment_ text_ rss()
- comment_ time()
- comment_ type()
- comments_ link()
- comments_ number()
- comments_ open()
- comments_ popup_ link()
- comments_ popup_ script()
- comments_ rss_ link()
- get_ avatar()
- next_ comments_ link()
- permalink_ comments_ rss()
- previous_ comments_ link()
- wp_ list_ comments()