James

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: CSS/JS not working correctly #22492
    James
    Member

    Feel free to mark this as answered. This code is part of twentyeleven
    <?php
    /* We add some JavaScript to pages with the comment form
    * to support sites with threaded comments (when in use).
    */
    if ( is_singular() && get_option( 'thread_comments' ) )
    wp_enqueue_script( 'comment-reply' );

    /* Always have wp_head() just before the closing
    * tag of your theme, or you will break many plugins, which
    * generally use this hook to add elements to such
    * as styles, scripts, and meta tags.
    */
    wp_head();
    ?>

    I took out “wp_head();” for whatever reason and it screwed things up. I put it back in and everything is fine now. Thanks for your quick replies though.

    in reply to: CSS/JS not working correctly #22478
    James
    Member

    Oh. Forgot to mention that it wasn’t a plugin problem, it is definitely a theme problem.

    in reply to: CSS/JS not working correctly #22477
    James
    Member

    You’re absolutely right. I deactivated all the plugins except for Events Calendar and Community Events and switched to twenty eleven and it works just fine. What could I have done in my child theme to screw things up? Any suggestions?

Viewing 3 posts - 1 through 3 (of 3 total)