Does anyone have a solution for removing the limit on nested comments?
I’ve found on a site I maintain that there are a few comments where no “Reply” button is visible and since worked out that this is due to the mxa nested comments being reached. It’s already set the max setting possible in the WordPress settings (in the discussions settings page) which is 10.
There was a plugin that did this (https://en-ca.wordpress.org/plugins/infinite-comment-replies/) but it’s not maintained and don’t even want to try it. Has anyone found a proper fix to extend / remove this limit?
Answers:
Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.
Method 1
thread_comments_depth is the option you need to change, and while the dropdown gives you several predefined values, the option can store any value.
So if you use the dev tools to adjust the dropdown to add a 9999 option, you can set it to a max of 9999 nested comments, or more even. You can also set the option directly via update_option, or with the options.php admin page that lists all options.
All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0