• 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

How do you add Google Adsense code to your Posts

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 › How do you add Google Adsense code to your Posts

This topic is: resolved

Tagged: adsense

  • This topic has 1 reply, 2 voices, and was last updated 10 years, 6 months ago by Susan.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • April 9, 2016 at 6:57 pm #183235
    jheinrichs79
    Member

    How do you add Google Adsense code to your Posts BOTH under the:

    1. Title of the post AND
    2. At the end of the post but before the comments.

    I went into Adsense and said get code. This is what I got:
    (I've changed my code by replacing the customer info)
    ------------------------------------------------------------------------------------
    <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
    <!-- MyAd -->
    <ins class="adsbygoogle"
    style="display:inline-block;width:728px;height:90px"
    data-ad-client="a-bunch-of-numbers-and-letters"
    data-ad-slot="a-bunch-of-numbers-and-letters"></ins>
    <script>
    (adsbygoogle = window.adsbygoogle || []).push({});
    </script>
    ------------------------------------------------------------------------------------
    What do I have to do to get this ad to show up on the page.

    I have Genesis and Executive child theme installed.
    I have also installed a few other plugins that I thought I might need in advance. They are:

    • Genesis Simple Hooks
    • Genesis Simple Edits

    I have JUST started using Genesis so I have heard of Hooks but I have no idea how I really go about using them. Any help I would really appreciate and I want to thank you for in advance!

    http://jaredheinrichs.com/
    April 10, 2016 at 7:09 pm #183332
    Susan
    Moderator

    I am closing this, as you have marked it "resolved". Please go ahead and start a new thread if you are still having issues.

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘How do you add Google Adsense code to your Posts’ 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