There’s a filter for that: get_comments_link
. Refer to source:
return apply_filters( 'get_comments_link', $comments_link, $post_id );
In an appropriate place (such as a site functionality Plugin), just add a filter via callback:
function wpse123906_filter_comments_link( $comments_link, $post_id ) {
// Return your custom link
return get_permalink( $post_id ) . '#disqus_thread';
}
add_filter( 'get_comments_link', 'wpse123906_filter_comments_link', 10, 2 );
Related Posts:
- How to wrap submit button of comment form with div
- How can I limit the number of comments per registered user per day?
- Showing comments only to same custom user role
- How to hide “Trackback” on paginated comments
- how to have 2 comments_template() in one post
- Passing arguments to wp_list_comments callback function
- customize comment form
- comments_template not working correcly in custom template files
- How can I show comments in random order?
- How to get last comments but not from admin (or other specific user role/capability)?
- Warning: call_user_func_array() expects parameter 1 to be a valid callback, func
- What does the “$depth” parameter in the Walker_Comment stand for?
- Add classname comment template from functions.php
- Customizing comments pagination for bootstrap
- comment_post action hook running on page load instead of after a comment is posted
- using comments_template() in custom single-portfolio.php
- how to properly use comments-template.php
- WordPress comments – how to check if comment still needs to be approved?
- Modify WordPress Comment From For AMP Html
- comments_number not displaying
- How to make comments private for commentor and post author
- Name of comment field differs on different sites
- The comment could not be saved. No comment_ID on comments
- How to display comment meta under each comment content
- How can I embed comments plugin to my own website?
- Custom comment field not showing when logged-in
- Custom comment link
- How to display replies to his comments in user profile of current user
- How to show a list of comments on home page from all posts?
- reply comment below the comment box without reload page
- How to call out the date of user’s first comment?
- How to pass settings to comment_form() if theme only uses comments_template()?
- How to add a class to comment submit button?
- How Can I display the Current Logged-In User’s Comment at the Top of the Comments Section in WordPress?
- Comments page id wp_list_comments
- reply to comment excerpt instead of author in comment title
- WordPress shows admin’s avatar after editing a comment
- Redirect first time comments
- Display Comment Form on dedicated Page for each post
- Commentform – Hightlight invalid fields instead of prompting towards error page
- Auto approve all comments (editor)
- The last comments of a post for the author of that post
- comments reply script not working
- What should I do to make generated avatars different for anonymous comments?
- Check If comment author is registered
- How do I set up real anonymous posting in bbpress forums? [closed]
- How do I turn off wordpress comments ability to capture a users ip address?
- Success message in comment form
- Is there a hook for comment author link?
- Exclude internal links from comment moderation?
- Change the HTML output of comments
- Upload images with comment
- Prevent Contributor to show comment list
- Change language of comments template
- Why Allow Script Commands in Comments?
- How to enable comments options?
- WordPress comment count to include attachment comments
- How to no follow the paginated comments
- Remove “Comments are closed” Notice from Custom Post Type template
- Comment count wrong with orphaned comments
- Pings and replies
- Comment_Reply_Link Not Showing?
- Display recent comments with gravatar and excerpts?
- Display the number of unseen comments on a page since the user last visit
- Log in link not showing, Comment Issue
- How to moderate (manually approve) comments of a specific (registered) User
- How unrequire comment text in wordpress post
- How to limit comment author to one comment per post
- Make WordPress process admin group comments using $allowedtags
- Can comments by a logged-in user be displayed at the top?
- Incorrect redirection after commenting on custom type
- WordPress for questions and responses website
- Custom setup of wordpress comments that are displayed
- How can get comment id from comment link?
- How to Add text to the start of all comment?
- How to get comments other than using wp_list_comments?
- How many members have made comments approved for an article?
- reCaptcha doesnt appear in comment (manual or plugin)
- Add a Comment on/off option in Screen Options for Comments?
- What is the earliest hook comment meta can be saved?
- Get Comment Author ID on the fly while posting
- I don’t have comments.php… how do I customize my comment fields
- Crossposting from WP to Blogger with comments
- How to load new posts from wordpress db into wordpress homepage without refreshing the site?
- REST API : Get post title with comment
- Comment area visible but comments not being saved
- How to make comment reply available only for login members of a certain user roles only?
- twenty seventeen theme: comments UI not visible
- where can I find the missing comments in my wordpress dashboard?
- Comments editor not rendering   and tag
- Trying to get property of non-object notices in comment-template.php
- How do you remove the ability for a user to make a comment or post on a page?
- Disqus moderation page not working in WordPress admin section
- Comment forum to display under the comment you’re replying too
- Recent comments per tagged post?
- Subscribe to a post’s comments without posting a comment yourself
- How to hide the login / profile urls on top of comment box for a post
- wp_list_comments adds unnecessary elements
- Get approved comments or comments that the author is me
- Show/Hide comments