I should probably do
<?php if( previous_comments_link() ) : ?>
<li class="previous">
<?php previous_comments_link( __( '← Older Comments', '' ) ); ?>
</li>
<?php endif; ?>
<?php if( next_comments_link() ) : ?>
<li class="next">
<?php next_comments_link( __( '← Newer Comments', '' ) ); ?>
</li>
<?php endif; ?>
Related Posts:
- Reverse comment pagination numbers
- Set noindex page-comment from Pages 2, 3 and More?
- Customizing comments pagination for bootstrap
- Comment Pagination Behavior wp_list_comments() – comment ordering and pagination
- Sort post comments from newest to oldest in pagination
- Comments page id wp_list_comments
- Resetting comment count
- Redirect user to a custom url after submitting the comment
- Add comments from the admin panel?
- One comment per user per post but be able to reply to existing comments
- What’s the easiest way to close comments on media/attachments?
- Using Disqus, how to stop storing comments in wp database?
- Multiple Comment Moderators and Notifications
- function to remove ‘comments and trackbacks are closed’
- Add a drop down list to comment form?
- Get threaded comments number
- How can I change the label “Comments” to “Review” everywhere in the WP installation without translation
- SQL query to delete comments older than 90 days?
- How to refresh the page when an admin trashes a comment from Comments in the admin site?
- How to move comments form above comments list in wordpress
- Let user edit his own comment
- Get the number of comments awaiting moderation
- How to add enctype to multipart/form-data to comment form?
- Comments view limited to 20 results – any way to increase to 50 or 100?
- Changing position of cancel_comment_reply_link and other elements of comment form
- What does the “$depth” parameter in the Walker_Comment stand for?
- Why do comment moderators need to have all create/edit/delete toboth posts and pages?
- Comment pagination – How to show determined number of comments on the first page?
- How to allow a particular role like Contributor be able to only view pending comments and approve them?
- How do I really disable comments?
- Sort comments by karma
- Bots posting comments on pages
- Comment form connection to Gravity Forms
- Add classname comment template from functions.php
- Comments deactivated
- Reject Comments Based on Author Email
- List user comments in author page
- Filter custom posts with / without comments
- Create comments.php form of custom HTML code
- Display comments on homepage of twenty seventeen theme
- How to dynamic Heart Like in WordPress?
- Disqus comments and pingback script – how to change the order?
- To whom do emails get sent via the WordPress comments form?
- Is it possible to embed github gists in wordpress comments?
- Comments feed – Undefined named entity: ndash
- warnCommentChanges always being triggered on update
- how get comments only on post of current logged in user?
- How to get comment id in callback function?
- Posting comment returns 404
- How-To and Troubleshooting Canonical Links for Paginated Comments
- How to convert WordPress comments to bbPress replies [closed]
- Get declared variable in single.php to work in comments.php without re-declaring it [closed]
- What is causing wp-comments-post.php to redirect to the browser’s IP address?
- Extra Title field for Comments
- Comments offset
- How to hide trackbacks on wp-admin/edit-comments.php
- comments_number not displaying
- Using a static callback on wp_insert_comment
- Insert Ads “into” comments section in Genesis Themework
- WordPress Recent Comments Widget exclude own comments
- How to prevent multiple comments
- How to get comment images stored as serialized comment meta
- Hide comments on specific pages, not just disable future comments
- Additional content every x comments
- How to display category name from commenter’s custom post
- Add comment_meta to wp_comment_reply
- How do comments work?
- Can’t reply to comments [closed]
- What’s the difference with trash_comment and wp_trash_comment?
- How can i change the order of comments?
- ask and edit an extra comment field
- Modify links in user comments
- How indicate when a functions was upgraded in relationship to the entire program [closed]
- Refresh individual comment text via API
- How to filter comments by comment_meta
- Prevent users to delete comments from trash
- How can I hide comment of the authors from their published posts?
- How to customize ‘children comments’ in WordPress?
- How to display replies to his comments in user profile of current user
- How do I refresh “Post Last Modified Time”, as long as comment is updated to Approve status?
- Top rated posts Average rating issue
- Need to output comment_form() function inside a foreach loop
- stop url changing when user comments
- Comment field override
- Keep comment author’s name on their comment even when their account is deleted
- Badges for Guests based on their comment counts [closed]
- How to add a class to comment submit button?
- WordPress Commenting System User access and Security
- Comments.php is not getting called on main blog page
- WordPress Comments – Only show part of user name
- Display Comment Form on dedicated Page for each post
- different levels of nested comments per page
- approve,spam,trash etc. options are not coming on comments in admin panel
- Actual comments not showing, but form is?
- Email from new comments
- Image Upload Form is Disabling Comment Addition
- Embed a page within WordPress dashboard?
- How to add a comment box on wordpress page? in the discussion section of page, allow comments is checked
- Number of unpublished comments for each post
- Are There Comment Text Revisions