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 (/) but it's not maintained and don't even want to try it. Has anyone found a proper fix to extend / remove this limit?
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/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?
Share Improve this question asked Jan 5, 2021 at 10:16 AdamJonesAdamJones 3282 gold badges7 silver badges26 bronze badges 3 |1 Answer
Reset to default 2thread_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.
update_option(...
or theoptions.php
page? (thread_comments_depth
is the option name ) – Tom J Nowell ♦ Commented Jan 5, 2021 at 10:36