WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Im trying to display latest comments from all the post on a page named comments, now im able to use <?php wp_list_comments('per_page=25', get_comments()) ?> and it gets all the comments but when I try to use <?php get_paginate_comments_links() ?> nothing shows even the next and previous buttons dont show, what am i doing wrong?

This is my current code, any help is appreciated

<?php wp_list_comments('per_page=5', get_comments()) ?> 

              <div class="navigation">
              <?php get_paginate_comments_links(array() ?>
<?php previous_comments_link() ?>
<?php next_comments_link() ?>
share|improve this question
up vote 2 down vote accepted

I cannot find that function in source and also not sure about your code nesting there.

There is paginate_comments_links() function. Usage is around this:

if ( get_option( 'page_comments' ) )
share|improve this answer
Rarst is correct, there's no such function, only paginate_comments_links ..(ie. minus the get_ part).. – t31os Jan 21 '11 at 14:59
Also the OP might note he's got a syntax error in his pasted code above on line 5 @ <?php get_paginate_comments_links(array() ?> – Zack Jan 21 '11 at 15:52
worked great, thanks – Jeremy Love Jan 21 '11 at 20:01

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.