I’m trying to enqueue comment-reply.js script only on a certain page but something is wrong with my code. Can someone hint things here?
<?php if ( is_singular('1740') && (!is_home() || !is_front_page() || !is_single()) && comments_open() && get_option('thread_comments') ) wp_enqueue_script( 'comment-reply' ); ?>