• 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 a line to Google Adsense output

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 a line to Google Adsense output

This topic is: not resolved

Tagged: adsense

  • This topic has 2 replies, 2 voices, and was last updated 7 years, 9 months ago by horseguards.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • January 9, 2019 at 6:23 pm #239803
    horseguards
    Participant

    I am very new to Genesis. I want to use Google Adsense feature in Genesis, adding my AdSense publisher ID to have Auto Ads all over my site, but I need to add this to the Adsense snippet:
    overlays: {bottom: true}
    This is to prevent anchor ads from appearing at the top of the user's screen, as it breaks my mobile menu.

    How can I do it? What page do I need to edit?

    Right now I have placed the whole snippet at the Header and Footer Scripts, but I reckon I can't use "[adsense_hint]", right?

    Thanks and excuse my poor English.

    January 9, 2019 at 7:00 pm #240091
    AnitaC
    Keymaster

    If you need to add on to the snippet, you should remove you code from the autoads box in the Genesis theme settings and add the code manually to your website. I think StudioPress maybe be removing the autoads from the settings page in the future.


    Need help with customization or troubleshooting? Reach out to me.

    January 9, 2019 at 8:15 pm #240693
    horseguards
    Participant

    ok, thanks!

    Where should I place it? At my child theme's function.php?
    Is it the same to place it at "Header and Footer Scripts"?
    Can I still use [adsense_hint]?

    Thanks again!

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