Viewing 15 replies - 1 through 15 (of 21 total)
  • Just remove the code you put in ?

    Thread Starter jebernier

    (@jebernier)

    I didn’t put the code in??

    What host are you on?

    So who did? Who has access to your site? Or, are you on some kind of free hosting where they put ads on your site?
    Link?

    Thread Starter jebernier

    (@jebernier)

    I’m not on a free hosting service and only I have access to the Admin site.

    Here is the URL:
    https://www.jebernier.com/wordpress/?p=2

    Was it included as part of a theme that you downloaded? If yes, you will need to edit the php file that contains the google adsense code.

    Those ads came with a theme – naughty….

    Open your ‘comments.php’, and find and delete everything I have put below:

    <div id="googleads">
    <!--
    Insert your 468x60 Google ad code here, Other sizes may work as well.
    Set your alternate_ad_url to https://www.jebernier.com/wordpress/wp-content/themes/cleanbreeze/adsensecollapse.php for collapsable ads.
    -->
    <script type="text/javascript"><!--
    google_ad_client = "pub-9236564641200703";
    google_alternate_ad_url = "https://www.jebernier.com/wordpress/wp-content/themes/cleanbreeze/adsensecollapse.php";
    google_ad_width = 468;
    google_ad_height = 60;
    google_ad_format = "468x60_as";
    google_ad_channel ="3967105853";
    google_ad_type = "text_image";
    google_color_border = "2D5893";
    google_color_bg = "99AACC";
    google_color_link = "000000";
    google_color_url = "000099";
    google_color_text = "003366";
    //--></script>
    <script type="text/javascript"
    src="https://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>
    </div>

    Looks like your theme cleanbreeze (https://chris.coggburn.us/cleanbreeze/) has google adsense code in it. Just remove the adsense code in the corresponding php files.

    Thread Starter jebernier

    (@jebernier)

    Thank you, Thank you, Thank you

    i have a question about this too. i installed a theme with google ads coded in it. say my site gets lots of traffic. who gets the check for the advertising?

    The affiliate associated with the ads – probably the person whose theme you’re using…. NOT a great thing!

    i was wondering if that was the case. thanks for the reply vkaryl. not a good thing at all.

    If you would like to use the ads with your adsense account, modify the file cbt_config.php in the cleanbreeze template. You can change the type of ad in comments.php, but make sure you delete the display string from the google adsense ad code that you paste in comments.php because the display code is located in the adsensecollapse.php file.

    Happy editing.

    Thats very sleezy. Someone should politely ask Chris either to remove it or disable it by default and include instructions for the user to change it for their adsense account before turning it on. Nothing like placing ads on someone else’s site for their own profits!

    It should have been off by default. It appears that one of the others who had SVN access to the theme on my server added their adsense code when I released the bugfix. I’ll make a modification and re-upload when I have access to my server again.

Viewing 15 replies - 1 through 15 (of 21 total)
  • The topic ‘Removing Google Ads?’ is closed to new replies.