WordPress.org

Ready to get started?Download WordPress

Codex

Template Tags/next comments link

Contents

Description

This creates a link to the next comments page containing newer comments.

Usage

 <?php next_comments_link'Label''Max number of pages (default 0)' ); ?> 

Examples

Default Usage

<?php next_comments_link(); ?>

Working example

<?php next_comments_link( 'Newer Comments »', 0 ); ?>

Parameters

label 
(string) The link text. Default is 'Newer Comments »'.
max_pages 
(integer) Limit the number of pages on which the link is displayed.

Change Log

Since: 2.7.0

Related

Comments Functions

See also index of Function Reference and index of Template Tags.