• 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

Adding customer HTML above the header help

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 › Adding customer HTML above the header help

This topic is: not resolved
  • This topic has 4 replies, 3 voices, and was last updated 7 years, 12 months ago by Brad Dalton.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • March 12, 2014 at 7:16 am #94401
    1michaelsparks
    Participant

    My company recently required licensed vendors to add a special code to the top of all website pages. This HTML codes indicates that our websites are approved and that we are Independent distributors not the company iteself.

    Here is what is required.

    Dealers are required to add the Authorized Dealer logo and code. To install this code, you will need to have access to the HTML of your website.

    1.Install the line of code just after the opening "body" tag of each page where visitors can arrive on your website. This will also install a "div" element just below the script at the very top of the page which will hold the graphics and your personal information.

    2.The line of code can also be installed in a site which utilizes a master page format to provide the logo on every page. This may also require installing the script in the "head" section of each page. The specific location of your master page and the appropriate place to install the code will vary with different website setups.

    Here is the exact code: <script src="https://www.amsoil.com/services/webcontent.ashx?type=badge&zo=513524"></script>

    Can someone explain where and how this will go on my website.
    I'm running stock Genesis http://www.amsoil.lube-direct.com/

    March 12, 2014 at 7:30 am #94405
    Brad Dalton
    Participant

    Try the Genesis > Theme Settings > Header and Footer scripts


    Recent Client work

    March 12, 2014 at 2:02 pm #94501
    1michaelsparks
    Participant

    What that worked great. Who would have thought that Genesis had this integrated into it!

    Thanks

    August 19, 2014 at 9:53 am #119785
    joejanish
    Member

    I have to do something similar -- I need to add iframe code immediately after the body tag. But if I put it in the "header" script it won't output because the code is before the body tag -- it needs to be after. If I put it in the footer script, the iframe winds up at the bottom of the page instead of the top.

    How do I get the iframe up to the top of the page?

    August 19, 2014 at 11:02 pm #119940
    Brad Dalton
    Participant

    Use a hook http://genesistutorials.com/visual-hook-guide/


    Recent Client work

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 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

© 2022 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