Adding the following lines of code to your theme’s functions.php file will let you enable threaded comments in WordPress.
1 2 3 4 5 6 7 8 | <?php function enable_threaded_comments(){ if (is_singular() AND comments_open() AND (get_option('thread_comments') == 1)) { wp_enqueue_script('comment-reply'); } } add_action('get_header', 'enable_threaded_comments'); ?> |
Snippet Source/Credit: WP-Snippets.com