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:
- The topic ‘wp_list_comments’ paginated URLs’ is closed to new replies.