You’re really close! Add #comment-<?php comment_id(); ?>
to the href to append the anchor link
<a href="<?php echo get_permalink($comment->comment_post_ID);?>#comment-<?php comment_ID() ?>">
<?php echo $post->post_title; ?>
</a>
Related Posts:
- Filtering the Admin Comments List to Show Only Comments from the Current User?
- Non-threaded comment replies with link to original comment
- When importing – failed to import: Invalid post type feedback
- How do we remove the H3 tag for the reply-title I.D
- How to display comment form error messages in the same page
- 3 moderators to approve comment
- show number of open comments on custom dashboard
- Deep customization of the comment form?
- How to hide “Trackback” on paginated comments
- Is it possible to show custom comment metadata in the admin panel?
- Editing the Comment Reply Link
- Comment form not showing up without comments
- How to show Disqus comment count number only without text?
- How can comments be submitted when I don’t have a comment box on a page?
- how to have 2 comments_template() in one post
- How to Delete Old Comments by Date?
- Display comment meta data after quick update
- get_comments() where parent is not 0
- How to hide “Comments are disabled”
- Get number of comments per page
- WordPress comments just vanished even tho there are about 250+ of them. Where did they go?
- Custom disqus_identifier not properly changing default value
- Edit Comment_Field while using T5 Comment Textarea On Top-Plugin
- Restore trashed posts with comments
- How to import only certain comments from post[s]
- How to remove ‘Site’ in the comment form?
- Make wordpress comments work with include templatepath
- Removing from Comment
- How do you turn on comments for only the last page of a paginated post?
- Callback function argument which is required for wp_list_comments ()
- How to not load comments form on post preview?
- Sort/list/arrange comments by comment author in un-nested/no thread comments
- Archive comment w/o moving to spam/trash
- Get the top level comment ID
- Custom WP Comments Query with Nested Comments Possible? (Hierarchy/Depth)
- Log file reports SQL Error processing child comments
- how to properly use comments-template.php
- Reply By Email to comment notifications
- Get Post ID within wp_set_comment_status hook
- How to implement comments on specific fields in wordpress?
- wp_list_comments renders incorrectly nested
- Alternative to the filter comment_reply_link
- Cancel comment filter?
- get_comments not working consistantly with post_id
- Comments are invisible, what’s the problem with wp_list_comments?
- WP confusing “links to my articles” with “comments”?
- How to check if a comment has replies?
- Can I have Comments open to specific users only?
- Safe to remove this: when using a 3rd Party Comment App? [closed]
- How to block comments and pings?
- Woocommerce comments subscription [closed]
- Way to count the number of people who have commented on a post?
- Batch approve comments
- Disable comments and pingbacks on old custom post types
- Add paragraph tags to comments
- How to tweak comment fields properly from functions.php
- How to allow duplicate comments?
- Advanced Custom Fields comments [closed]
- How to wrap comment_form $fields in one div?
- Two textareas showing up in comments.php
- How can I grab and show the reader comments of my site
- WordPress comments – delimiter “/” not found
- how should the comment form really work?
- Give subscribers the option to post anonymously
- create separate page template for wordpress comments
- Styling Admin comments in WP 3.1.3
- Displaying comment counts in WP Gallery thumbnail view
- Removing comment option
- SQL command to delete “pending comments” doesn’t work…?
- How to rename/change the comment labels in WordPress backend?
- Edit Comments Fields
- Random output of comments using a shortcode
- Allow comments only for custom post type
- Upload avatar for post comment
- Comment author profile image
- Comments stuck inside post edit, but not showing under the published posts
- How add custom text under comment form
- Post comment authors name displays as admin user
- Can’t hover on Submenu
- Can I allow registered users to comment without being logged in or having to be approved?
- Showing different images depending on user role
- Why the capability ‘activate_plugins’ is needed to allow a role to see all posts/pages/comments?
- How to require users not to be logged in for comments on single page only?
- How to create a designated comment page with custom fields
- WordPress shows admin’s avatar after editing a comment
- How to change comment-page-1#comment-25 to any string?
- Why do comments only come through on 2 of my posts and not the others?
- change text written in english into hindi
- comment-reply.js always focuses on comment textarea
- I need to delete all posts from my homepage & create a static front page [closed]
- Is there a better way to check for a new comment?
- Comments from mobile apps & Disqus
- How to remove website field in comment form?
- Use specific language for comment section
- Why might a comment turn red on approval?
- Reply to a specific comment?
- WordPress comment pagination : newest comments on first page
- member login using photo
- Is safe to use native WordPress comments system? [closed]
- how to remove post comment box from my website? [closed]