• 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

Help removing Google AdSense code

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 › Help removing Google AdSense code

This topic is: not resolved

Tagged: Google Adsense

  • This topic has 1 reply, 1 voice, and was last updated 12 years, 6 months ago by pixelhappy.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • December 4, 2013 at 4:13 am #76923
    pixelhappy
    Member

    Hi there,

    My first time trying to implement Google AdSense and not having fun 🙁

    I tried a few different plugins today that didn't work as needed. I deactivated and deleted the plugins and, yet, if you look at the site, you will see an empty space at the top of each blog post. When I look at the code, it's still loading the google adsense code.

    Can someone please tell me how to get rid of this! I have no idea how to remove this the posts are formatted correctly.

    Rustic Munch Mix

    All the blog posts now have empty space at top of post and when you look at the code you see:

    <iframe id="zrt_ads_frame1" width="728" scrolling="no" height="90" frameborder="0" src="http://googleads.g.doubleclick.net/pagead/html/r20131127/r20131125/zrt_lookup.html" name="zrt_ads_frame1" style="display:none" allowtransparency="true" hspace="0" vspace="0" marginheight="0" marginwidth="0"> … </iframe>
    <script> … </script>
    <script src="http://pagead2.googlesyndication.com/pagead/js/r20131127/r20131125/show_ads_impl.js"></script>
    <script src="http://pagead2.googlesyndication.com/pagead/expansion_embed.js"></script>
    <script> … </script>
    <iframe id="google_ads_frame1" width="728" scrolling="no" height="90" frameborder="0" vspace="0" style="left:0;position:absolute;top:0" src="http://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-2271095984730506&format=728x90&output=html&h=90&slotname=1613822872&adk=1675878879&w=728&lmt=1386151914&flash=11.9.900&url=http%3A%2F%2Fwww.dessertsrequired.com%2Frustic-munch-mix&dt=1386151914996&bpp=4&bdt=667&shv=r20131127&cbv=r20131125&saldr=aa&correlator=1386151915099&frm=20&ga_vid=532224632.1375981949&ga_sid=1386150840&ga_hid=516948542&ga_fc=1&u_tz=120&u_his=3&u_java=1&u_h=1080&u_w=1920&u_ah=1032&u_aw=1920&u_cd=24&u_nplug=23&u_nmime=112&dff=helvetica%20neue&dfs=16&adx=416&ady=410&biw=1899&bih=870&oid=3&ref=http%3A%2F%2Fwww.dessertsrequired.com%2Fcinnamon-shortbread-apple-pockets&rs=0&vis=1&fu=0&ifi=1&dtd=216&xpc=FiS1SNxuJS&p=http%3A//www.dessertsrequired.com" name="google_ads_frame1" marginwidth="0" marginheight="0" hspace="0" allowtransparency="true">
    #document
    <html> … </html>
    </iframe>
    <iframe id="google_osd_static_frame_8946528300356" name="google_osd_static_frame" style="display: none; width: 0px; height: 0px;"> … </iframe>
    </body>
    </html>
    </iframe>
    </ins>
    </ins>

    </ins>
    <script> … </script>


    Web developer. WordPress and Genesis Junkie. Yoga lover and aspiring peace maker.

    http:// http://www.dessertsrequired.com/rustic-munch-mix
    December 4, 2013 at 4:41 am #76924
    pixelhappy
    Member

    Okay, never mind; I deactivated Genesis Extender -- which I had used to add custom hook -- and reactivated. That removed the left over hook / space at the top of the blog posts.


    Web developer. WordPress and Genesis Junkie. Yoga lover and aspiring peace maker.

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