Return to Snippet

Revision: 47745
at June 15, 2011 18:56 by paulund


Initial Code
// enable threaded comments
function enable_threaded_comments(){
if (!is_admin()) {
if (is_singular() AND comments_open() AND (get_option('thread_comments') == 1))
wp_enqueue_script('comment-reply');
}
}
add_action('get_header', 'enable_threaded_comments');

Initial URL

                                

Initial Description

                                

Initial Title
Enable Threaded Comments in WordPress

Initial Tags
wordpress

Initial Language
PHP