Here’s my solution. It relies on removing the original comment link and recreating it by appending it to the comment itself: https://www.webhostinghero.com/adding-infinite-replies-in-wordpress/
The only caveat is to make sure that wp_list_comments has been called with the default style argument. If it’s not, then that element needs to be changed as explained in my article. Most of the time, the comments will be denoted by “div-content” so it won’t be a problem.
Related Posts:
- Is it possible to filter comments in a post so a user can only see the comments they have written?
- How to enable visual editor when editing comments on the dashboard?
- Adding custom column to comments admin panel?
- Why anything done on comments_array hook gets reset?
- How Does comment_author Filter Work?
- How to modify core when there is no hook?
- How to validate recaptcha on comments form?
- I want to allow the use of a data-flw attribute in links in comments
- Comment search plugin
- How to allow code block in wordpress comments
- Use of comment_reply_link_args filter
- Remove Comment Author Link only for subscribers
- Use has_filter on comment_post
- Remove comments validation (remove filter?)
- How do I add tags to entire comments, not just their text
- comment_notification_text filter not working
- Modify author url display in edit-comments.php
- How can I filter the comment action links so that I can display the actions links based on user capabilities?
- Converting restricted html in comments to bbcode
- Removing a line from a WP core function (comment_template.php) – filter or other technique?
- How to filter users on admin users page by custom meta field?
- Passing Additional Parameters to add_filter Callable
- How can I add an Author filter to the Media Library?
- Modify WordPress Rest Api Request/Response
- How to add some custom HTML into wordpress admin bar?
- Change upload directory on custom plugin page
- How to use the_excerpt in a filter hook?
- Add wrapper to only youtube videos via embed_oembed_html filter function
- Hook into admin post list page
- How to remove or replace the log-in link for comment replies?
- Add post/page ID to inserted links within the_content
- How to exclude/filter a tag from get_the_tag_list()
- Shortcodes not resolved in AJAX call response
- Possible to filter the posts or categories that XML-RPC users see in their mobile application?
- Ajax, filters and shortcodes
- Filter the blog’s title without using global variables
- wp_link_pages output appears twice
- Multiple Ajax Data Action
- wp_query and comment_parent – select only posts with top level comments
- user_has_cap filter allows edit but will not allow save
- Changing a WordPress core function without hacking core
- Change WordPress RSS link with filter?
- How to remove get_post_metadata using remove_filter inside a class?
- where to apply “apply filters” and other Sanitization Functions
- Add guid filter to attachment in media library grid mode
- Sorting and limitation with pre_get_posts
- Warning: Missing argument 2 for widget_title filter
- Use add_filter on concatenated string variable
- Change term name only on front
- How do I hide the current page’s title?
- Change name of existing post status type
- add_filter(‘the_content’, ‘…’) stops pagination from working
- Header image automatically changes depending on season
- How to remove SKU’s from ALL products in Quick View – already remove from each product page
- Admin Backend – Search Pages only by title
- How to hide Ads in between posts on AMP? [closed]
- What is the downside of using a filter as a “poor man’s” dependency injection?
- BBPress changing default group activity
- How can I change the language of automated Mails?
- Remove posts inside pre_get_posts using a custom query
- Remove / Hide Attachment Display Settings in Add Media popup / dialog
- how to customize rss feed tags using hooks?
- Wrapping my head around add_filter
- Is it possible to apply filter to meta key value when querying posts?
- How to add_filter to an OOP based apply_filter(‘foo::bar’, $a);
- apply_filters with multiple args and multiple add_filter
- Help with filter for wp_notify_moderator()
- Should I remove_filter in order to replace a filter?
- How can I specify the post status of an untrashed post?
- Conflict calling an add_filter() twice
- Filter for author list in gutenberg core editor
- Rewrite rule and display of post
- Passing variable from child theme function to parent theme filter
- Add filter unless it is being called under specific function
- paginate_links() Change the order of links
- Filter / add_action to upgrade.php page
- Add Filter – Pass Variable (PHP < 5.3)
- Why does admin_body_class not work?
- Problem width wp_insert_post_data and Gutenberg block editor
- style_loader_tag not changing stylesheet to preload
- add_filter doesn’t return false?
- How to track a particular page in order to address the loading speed issue
- how to overwrite next_post_link
- Cutting off excerpt with first sentence
- Change URLs in default WordPress slider to relative from absolute
- Print url to default featured image
- How to filter wp_get_recent_posts() to only posts that have thumbnails?
- What action/filter can be used for modifying the page to be rendered?
- Adding user filter – Not updating data in URL
- How to check which submission button was clicked?
- How to add more than one custom metadata as filter on the post list page?
- filter wptexturize doesn’t work on old posts titles
- remove_action conditionally for Custom Post Type – not working
- wp_get_attachment_link filter not working
- How would I remove an inline googleAPI font script in the the parent theme header.php?
- Getting entry ID from frm_email_message filter in formidable
- Is there a hook or filter that adds a button to the left of the search box?
- filter a list by gender
- Using two posts_orderby add_filter makes conflict
- Block Gutenberg Editor manually by User Roles with a Filter with code