1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How To Add Adsense to WP w/o Plugins

Discussion in 'Blogging' started by anonymousartisan, Jun 29, 2009.

  1. anonymousartisan

    anonymousartisan Registered Member

    Joined:
    Jun 5, 2009
    Messages:
    71
    Likes Received:
    9
    Occupation:
    Student
    Location:
    Everywhere
    Home Page:
    I've found an extremely helpful site that taught me how to hardwire Adsense ads directly to my blog's template files without using plugins. This eliminates the scenario of Wordpress updating to another version and your plugin no longer works because of compatibility issues. Can't have those ads down while you're searching for another plugin. Half of them don't work anyway. I'm assuming this will work for YPN, Chitika, and whatever else you use, as long as the sizes are relatively close.

    Although that's true, you're going to have to pick a theme that you enjoy unless you feel like editing several ;). I currently use this on my 5 blogs and I've had no problems. I have one sidebar skybox and ads below my first two posts, which makes three ads in all. That's evidently within Google's guidelines, so no trouble there.

    You just need to have an HTML/PHP editor handy and your Adsense codes. Notepad usually works wonders.

    Check it out and let me know what you think:

    http://www.tamba2.org.uk/wordpress/adsense/
     
    • Thanks Thanks x 1
  2. veryblackninja

    veryblackninja Newbie

    Joined:
    Apr 28, 2009
    Messages:
    4
    Likes Received:
    0
    thanks for the tip. will try it out.
     
  3. iglow

    iglow Elite Member

    Joined:
    Feb 20, 2009
    Messages:
    2,081
    Likes Received:
    856
    Home Page:
    Thats called html lol
     
  4. anonymousartisan

    anonymousartisan Registered Member

    Joined:
    Jun 5, 2009
    Messages:
    71
    Likes Received:
    9
    Occupation:
    Student
    Location:
    Everywhere
    Home Page:
    It's actually PHP and unless you're a PHP coder, it's very difficult to figure out.
     
  5. Jackalakus

    Jackalakus Junior Member

    Joined:
    May 19, 2009
    Messages:
    192
    Likes Received:
    66
    I just cut paste into the blog theme desing w/o the plugin...
     
  6. anonymousartisan

    anonymousartisan Registered Member

    Joined:
    Jun 5, 2009
    Messages:
    71
    Likes Received:
    9
    Occupation:
    Student
    Location:
    Everywhere
    Home Page:
    That's exactly what this teaches you how to do. I think it's more of a guide as to where to place the code to get the desired results, more than anything else.
     
  7. Brotato

    Brotato Regular Member

    Joined:
    Mar 10, 2008
    Messages:
    235
    Likes Received:
    59
  8. Jackalakus

    Jackalakus Junior Member

    Joined:
    May 19, 2009
    Messages:
    192
    Likes Received:
    66
    The pages to edit

    archives.php
    comments.php
    index.php (header and sidebar)
    single.php

    Done...