How can I enqueue comment-reply script only on certain page?
Question
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' ); ?>
0
1 month
0 Answers
6 views
0
Leave an answer
You must login or register to add a new answer .