• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Need help added header scripts – getting (you don't need this) in header

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › Need help added header scripts – getting (you don't need this) in header

This topic is: not resolved

Tagged: (you don't need this), associate theme, header scripts

  • This topic has 7 replies, 2 voices, and was last updated 13 years, 9 months ago by Bill Murray.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • December 31, 2012 at 3:48 pm #8635
    webcami
    Participant

    http://webcamihosting.com/pj/

    I need help!!!!!

    I need to add the following script in the header to make a membership log in work on this site...

    When I do so, I get (you don't need this) in the header area of the page.  I am doing so via THEME SETTINGS.  I also loaded SIMPLE HOOKS and got the same results and also attempted to load this in the header.php file and all ended with the same results.  The code is currently in the THEME SETTINGS under GENESIS on the dashboard.

    Please advise how I can fix this.

    I miss the old forum! 🙂  I'm using ASSOCIATE.  Are their areas for each child theme here?  I can only find this to post in.

    December 31, 2012 at 5:16 pm #8637
    Bill Murray
    Member

    It sounds like you are going about it the right way. Can you post the script you are to load? Since the forum may mess up script that you attempt to paste in, you can try putting a space after the opening and closing bracket, as in . If that doesn't work, replace the word script with something else.


    Web: https://wpperform.com or Twitter: @wpperform

    We do managed WordPress hosting.

    December 31, 2012 at 6:02 pm #8644
    webcami
    Participant

    Thanks for the info.  Here's what I added:

     

    <script type="text/javascript" src="https://s3.amazonaws.com/technique-webcontent/js/jquery/jquery-1.4.4.min.js"></script>
    <script type="text/javascript" src="https://s3.amazonaws.com/technique-webcontent/js/common/webtoolkit.sha1.js"></script>
    <script type="text/javascript" src="https://s3.amazonaws.com/technique-webcontent/js/common/external_login.js"></script>

    December 31, 2012 at 6:05 pm #8645
    webcami
    Participant

    Hey, I just played with the spacing and it's working!

    December 31, 2012 at 6:11 pm #8647
    Bill Murray
    Member

    That's good, but you still have a problem. Your very first line is loading jQuery, which WP already loads. So you don't want to load a 2nd copy. Try deleting that first line and re-test.

    In general, it's ok to add scripts the way you are doing - provided that you are aware of what you are loading and don't load duplicate or conflicting scripts. The ideal way is to enqueue them, and that would have saved you from loading a duplicate jQuery. Since loading them via the header script box in theme settings is easier, always be vigilant to what you are loading.


    Web: https://wpperform.com or Twitter: @wpperform

    We do managed WordPress hosting.

    December 31, 2012 at 6:13 pm #8648
    webcami
    Participant

    Hey, thanks.  I will do that... and HAPPY NEW YEAR!

    December 31, 2012 at 6:15 pm #8649
    webcami
    Participant

    It doesn't work without this:

    <script type="text/javascript" src="https://s3.amazonaws.com/technique-webcontent/js/jquery/jquery-1.4.4.min.js"></script>

    December 31, 2012 at 7:55 pm #8659
    Bill Murray
    Member

    Well, I would go back to the developer of the script and explain that you are loading that on a WP site that already loads jQuery (the version will depend on your WP version) and ask them how to make their script work. You shouldn't load 2 copies of jQuery, because at some point you'll find something that is broken.


    Web: https://wpperform.com or Twitter: @wpperform

    We do managed WordPress hosting.

  • Author
    Posts
Viewing 8 posts - 1 through 8 (of 8 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble