• 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

Extra Code at Top of Home Page

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 › Design Tips and Tricks › Extra Code at Top of Home Page

This topic is: resolved

Tagged: editor, wellness pro

  • This topic has 2 replies, 2 voices, and was last updated 6 years, 10 months ago by Dianne.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • August 6, 2018 at 9:12 pm #222290
    Dianne
    Participant

    There is a snippet of code at the top of the home page that I can't figure out how to get rid of. Can anyone help me remove it? I'm in the process of building the site.

    Thanks,
    Dianne

    http://workingathomeworks.com
    August 7, 2018 at 1:46 am #222292
    Victor Font
    Moderator

    The Google tag manager code has been inserted within the link reference for where you load the Paprika Google font. This is the actual source code:

    <li<!-- global="" site="" tag="" (gtag.js)="" -="" google="" analytics="" --="">
    <script async="" src="https://www.googletagmanager.com/gtag/js?id=UA-45682903-1"></script>
    <script>
      window.dataLayer = window.dataLayer || [];
      function gtag(){dataLayer.push(arguments);}
      gtag('js', new Date());
    
      gtag('config', 'UA-45682903-1');
    </script>
    nk href='http://fonts.googleapis.com/css?family=Paprika' rel='stylesheet' type='text/css'>

    The Google font code should be:

    <link href='http://fonts.googleapis.com/css?family=Paprika' rel='stylesheet' type='text/css'>

    This belongs in the page header, not below the body tag.

    The Google tag manager code does belong just after the body tag, but it's been inserted incorrectly on your site.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    August 7, 2018 at 6:52 am #222298
    Dianne
    Participant

    That was it! Thanks, Victor, for your help.
    Dianne

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Extra Code at Top of Home Page’ is closed to new replies.

CTA

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

Create a site with WP EngineShop for Themes

Footer

StudioPress

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