• 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

Adsense ID in theme settings

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 › Adsense ID in theme settings

This topic is: resolved

Tagged: adsense, auto ads, theme settings

  • This topic has 6 replies, 3 voices, and was last updated 8 years ago by rebeccaolkowski.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • March 15, 2018 at 1:02 pm #217949
    rebeccaolkowski
    Participant

    I have inserted my adsense ID into Genesis theme settings for auto ads. Love that it's so convenient. I'd like to exclude my sponsored post category, however. Is there a snippet to do this?

    https://www.babyboomster.com
    March 16, 2018 at 2:08 am #217968
    Brad Dalton
    Participant

    Try this https://gist.github.com/braddalton/e1bf8da5b4465ebeccf3db29ed4395c7


    Tutorials for StudioPress Themes.

    March 18, 2018 at 6:47 pm #218074
    rebeccaolkowski
    Participant

    Thanks. I inserted the code into my functions but I'm still seeing the adds in the sponsored category. I will give it a little while and check back because it may take a little time for Google to recognize it. Here is a post. The only category checked is sponsored.

    https://www.babyboomster.com/scriptpath-cvs-pharmacy/

    Rebecca Olkowski

    March 18, 2018 at 10:46 pm #218079
    Brad Dalton
    Participant

    I think you'll need to remove the id from the theme settings.


    Tutorials for StudioPress Themes.

    March 19, 2018 at 10:35 am #218103
    rebeccaolkowski
    Participant

    Thank you. That works.

    March 20, 2018 at 1:50 am #218121
    hacksumo_proof
    Member

    I use whitespace pro it's a great theme for using adsense

    March 20, 2018 at 12:26 pm #218153
    rebeccaolkowski
    Participant

    Good to know.

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Adsense ID in theme settings’ 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

© 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