WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Default theme question (3 posts)

  1. guitarcrazy087
    Member
    Posted 5 years ago #

    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!

  2. 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.

  3. guitarcrazy087
    Member
    Posted 5 years ago #

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

    Thank you very much though!

Topic Closed

This topic has been closed to new replies.

About this Topic