wp_list_comments' paginated URLs (2 posts)

  1. kgagne
    Posted 7 years ago #

    I run several WordPress sites, but only one uses a theme that doesn't predate more recent versions of WP, that being


    I noticed that, instead of the intricate loop used in my other themes to display comments, this theme's comments.php file uses a shorter (newer?) command:

    <?php wp_list_comments(); ?>

    A problem arises when trying to link to a particular comment. For example, clicking on the date on this blog post's one comment:


    Results in this URL:


    I've never seen a WordPress URL of that format before, and it doesn't work on my site. What does work, and is more standard, is to remove the /comment-page-1 part to create this URL:


    How can I get this theme to generate the correct URL -- or how can I get the URL it *is* generating to work? I don't see anything about pagination here:


  2. kgagne
    Posted 7 years ago #

    Ah -- disabling the Discussion setting "Break comments into pages" fixed it.

    Given the above issue, I'm not sure how that feature is supposed to work.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.