Posted By

elightbo on 04/22/10


Tagged

textmate wordpress comment


Versions (?)

WordPress Comments-reply


 / Published in: PHP
 

URL: http://soupgiant.com/blog/wordpress/including-wordpress-comment-reply-js/

  1. function theme_queue_js(){
  2. if (!is_admin()){
  3. if ( is_singular() AND comments_open() AND (get_option('thread_comments') == 1))
  4. wp_enqueue_script( 'comment-reply' );
  5. }
  6. }
  7. add_action('get_header', 'theme_queue_js');

Report this snippet  

You need to login to post a comment.