Wordpress Logo

Comments reply

// in enqueue styles and scripts

    // Comments behaviour, only in single pages/posts
    if( is_singular() && comments_open() && get_option( 'thread_comments' )) {
        wp_enqueue_script( 'comment-reply' );
    }