Increase the nested comments level

Trying to increase the WordPress nested comments level? You can change this in WordPress or by applying filters to thread_comments_depth_max.

Change comment nesting depth through code

In order to change the depth via code, for example, if you want more than the default limit of 10. You can add the function below to your WordPress theme’s functions.php file.

add_filter( 'thread_comments_depth_max', function( $max ) {
     return 11;

Change comment nesting depth through settings

Login to your WordPress admin dashboard and navigate to Settings>Discussion and find the “Other comment settings” section.

Here, you can simply change the nested level from 2–10.