How to I add adsense codes directly to my wordpress theme

Discussion in 'WordPress' started by mpak11, Jan 21, 2012.

  1. #1
    I am using this free wordpress theme:

    http://colorlightstudio.com/2007/10/31/45-degrees/

    I want to know how to add a 350 x 250 adsense ads at the top right of the content
    and a banner ad at the bottom of the post

    I want to remove the adsense plugin I am using and just add it directly to the theme...

    Is there a standard way to do this by editing the code so I can use it in my other themes too?

    Please help....I am not familiar with any coding but I can follow instructions...thanks!
     
    mpak11, Jan 21, 2012 IP
  2. bablu

    bablu Peon

    Messages:
    277
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    its very easy. login to wp admin panel then go to "appearance" and then click "editor". Now click "single.php file" and search for "<?php the_content(); ?>
    0
    ". Paste adsense code above this line and done.
     
    bablu, Jan 21, 2012 IP
  3. тнє Sufi

    тнє Sufi Peon

    Messages:
    391
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    If you are not familiar with wordpress codes, you will find it tough.
    You can do it by directly putting the adsense code in your theme templates from Appearance > Editor.
    PM me, if you need some help!
     
    тнє Sufi, Jan 21, 2012 IP