• I was editing my wordpress code from the default wordpress theme and came across this in the header:

    <?php if ( is_singular() ) wp_enqueue_script( ‘comment-reply’ ); ?>

    I was wondering if it was of any significance and if anyone would tell my that would be great!

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    This code

    <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>

    is part of the threaded comment feature that was introduced with WordPress 2.7.

    See this codex document for more information.

    Thread Starter guitarcrazy087

    (@guitarcrazy087)

    I just found that a moment before you posted. =O

    Thank you very much though!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WordPress Default theme question’ is closed to new replies.