• Resolved smw03

    (@smw03)


    A few months back Google Adsense disabled my account for some unknown reason. Now there is a blank white space at the end of my posts, and sometimes an Ad will appear accidentally.

    I had someone else put the code in there so they showed up at the bottom of my posts, but I’m not sure where the code is or how to get it out of there.

    Does anybody know how I can remove this?

    The URL is goldandbluezone.com

Viewing 8 replies - 1 through 8 (of 8 total)
  • umm.. I see Google Ads on your site below the posts..

    Thread Starter smw03

    (@smw03)

    Yeah, sometimes they appear. Either way I dont get paid for them if ppl click them.

    I just dont know where the code is so I cant remove it. I’m afraid to mess something up if I mess around with it too much.

    it’s most likely in single.php (Single Post)

    Appearance -> Editor -> single.php

    if it is, the delete all of this:

    <script type=”text/javascript”><!–
    google_ad_client = “ca-pub-***********”;
    /* RTT mainpage top */
    google_ad_slot = “********”;
    google_ad_width = 300;
    google_ad_height = 250;
    //–>
    </script>
    <script type=”text/javascript” src=”https://pagead2.googlesyndication.com/pagead/show_ads.js”&gt;
    </script>

    the asterisks would be numbers for you of course..

    if it’s not there, then there could be many other options

    Thread Starter smw03

    (@smw03)

    the only thing in single.php is this:

    <?php get_header(); ?>
    <?php get_template_part(‘loop’, ‘single’); ?>
    <?php get_footer(); ?>

    then it’s in loop.php

    or it could also be a plugin that inserts ads into the site, like Post Foooter

    Thread Starter smw03

    (@smw03)

    It was a plugin. Can’t believe I didn’t realize that. Feel pretty stupid. haha

    Thanks for your help!

    If you can update the theme or just replace the theme with an unedited copy the ads will be automatically removed.

    It was a plugin.

    Which plugin? I could not find any plugin for inserting ads.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘How to remove adsense (blank white space at end of articles)’ is closed to new replies.