2

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?

3

1 Answer 1

2

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.