Add Adsense to Wordpress Pages

Discussion in 'AdSense' started by webguy84, Oct 13, 2007.

  1. #1
    Hi guys,
    I would like to ask how I could add adsense to pages (not posts) within wordpress? I do know how to add adsense to the sidebars but I would like to add ads to within the pages content.

    Many Thx
     
    webguy84, Oct 13, 2007 IP
  2. netjobs

    netjobs Banned

    Messages:
    1,442
    Likes Received:
    104
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Just add the code in page.php file..
     
    netjobs, Oct 13, 2007 IP
  3. royc357

    royc357 Peon

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    sorry, i would like to know is it i need to add the adsence code in the wordpress current theme?
     
    royc357, Oct 13, 2007 IP
  4. ThreeGuineaWatch

    ThreeGuineaWatch Well-Known Member

    Messages:
    1,489
    Likes Received:
    69
    Best Answers:
    0
    Trophy Points:
    140
    #4
    ThreeGuineaWatch, Oct 13, 2007 IP
  5. glendowney

    glendowney Notable Member

    Messages:
    5,925
    Likes Received:
    198
    Best Answers:
    0
    Trophy Points:
    210
    #5
    I started using the Adsense Manager a few days ago and it is a really easy plug in to use. It saves a lot of time messing around with the template and takes less than 5 minutes to set up. I would highly recommend this plug in to anyone with a wordpress site!!
     
    glendowney, Oct 13, 2007 IP
  6. Clive

    Clive Web Developer

    Messages:
    4,507
    Likes Received:
    297
    Best Answers:
    0
    Trophy Points:
    250
    #6
    It takes you less than 5 minutes to open a WP template file, and insert the adsense code in it exactly where you want the ads to show up without loading your wordpress with unnecessary plugins. My point...
     
    Clive, Oct 13, 2007 IP
  7. glendowney

    glendowney Notable Member

    Messages:
    5,925
    Likes Received:
    198
    Best Answers:
    0
    Trophy Points:
    210
    #7
    It doesn't take 5 minutes if you don't know how to edit your template and don't want to mess the template up :p
     
    glendowney, Oct 13, 2007 IP
  8. Clive

    Clive Web Developer

    Messages:
    4,507
    Likes Received:
    297
    Best Answers:
    0
    Trophy Points:
    250
    #8
    Ok, that can be the case but then it would be smart to pay someone a quick $5 to have the code added.
     
    Clive, Oct 13, 2007 IP
  9. tushardhoot1

    tushardhoot1 Active Member

    Messages:
    3,013
    Likes Received:
    96
    Best Answers:
    0
    Trophy Points:
    90
    #9
    No, cause you can save those $5 by just taking 2 mins and installing the plugin.
     
    tushardhoot1, Oct 13, 2007 IP
  10. glendowney

    glendowney Notable Member

    Messages:
    5,925
    Likes Received:
    198
    Best Answers:
    0
    Trophy Points:
    210
    #10
    The plugin was made so that people who can't edit coding and who don't want to edit the template can install a plugin that will add all your adsense ads for you. Why pay when you can get a free plugin to do all the work for ya ;)
     
    glendowney, Oct 13, 2007 IP
  11. Clive

    Clive Web Developer

    Messages:
    4,507
    Likes Received:
    297
    Best Answers:
    0
    Trophy Points:
    250
    #11
    Or. If you want to save $5, spent 5 minutes on learning how to insert the adsense code into HTML. You can't go wrong.
     
    Clive, Oct 13, 2007 IP
  12. ThreeGuineaWatch

    ThreeGuineaWatch Well-Known Member

    Messages:
    1,489
    Likes Received:
    69
    Best Answers:
    0
    Trophy Points:
    140
    #12
    Also, unless I'm mistaken, if you change your WP skin, you'll need to re-edit your templates in order to keep your AdSense blocks. This wouldn't be the case with the plug-in ;)
     
    ThreeGuineaWatch, Oct 13, 2007 IP
  13. ThreeGuineaWatch

    ThreeGuineaWatch Well-Known Member

    Messages:
    1,489
    Likes Received:
    69
    Best Answers:
    0
    Trophy Points:
    140
    #13
    Are you the shop floor man from the Programmer's Union? ;)
     
    ThreeGuineaWatch, Oct 13, 2007 IP
  14. Clive

    Clive Web Developer

    Messages:
    4,507
    Likes Received:
    297
    Best Answers:
    0
    Trophy Points:
    250
    #14
    Maybe. And you may get a yellow card for double posting. It's safer to hit the Edit button ;)
     
    Clive, Oct 13, 2007 IP
    ThreeGuineaWatch likes this.
  15. webseo

    webseo Well-Known Member

    Messages:
    190
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    120
    #15
    If you dont plan on changing the wordpress theme use the plugin. Its easier! Add the code were you want it and if you want to change it at any stage all you have to do is go to the plugin edit and change it there and it will change it site wide.

    Editing the page.php is ok if you dont plan on testing the adsense colors, size etc.
     
    webseo, Oct 13, 2007 IP
  16. ThreeGuineaWatch

    ThreeGuineaWatch Well-Known Member

    Messages:
    1,489
    Likes Received:
    69
    Best Answers:
    0
    Trophy Points:
    140
    #16
    On the obverse, if you already have a 5000 page blog, adding the plug-in will not help you that much in regard to in-line ads because you will have to go back and add the ads to those 5000 pages. So it is swings and roundabouts, belts and braces etc. All depends on your situation.
     
    ThreeGuineaWatch, Oct 13, 2007 IP
  17. webguy84

    webguy84 Well-Known Member

    Messages:
    815
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    128
    #17
    I agree the mod Adsense Manager rocks.....
     
    webguy84, Oct 14, 2007 IP
  18. Newton

    Newton Peon

    Messages:
    427
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #18
    BTW you can wrap the text around the adsense by using this :

    <div style=”display:block;float:right;margin: 0px 10px 0px 0px;”>||adsense here|| </div>

    example at matnewton.com
     
    Newton, Oct 14, 2007 IP
  19. Trapped

    Trapped Well-Known Member

    Messages:
    1,832
    Likes Received:
    48
    Best Answers:
    0
    Trophy Points:
    130
    #19
    Well it would get much more easier if you get into your wordpress admin panel, go on theme edit, chose the page.php file to edit, find the code where it parses the content (should look something like <?php the_content('Read the rest of this entry &raquo;'); ?> ) before that div add the adsense code and maybe wrap with with a span, with CSS float the span that holds the adsense code and there, you have added adsense to 5000 pages with one single move.
     
    Trapped, Oct 14, 2007 IP
  20. enquiries0009

    enquiries0009 Banned

    Messages:
    1,421
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    0
    #20
    Just change the code in page.php if you find any difficulty means just use the template of adsense readymade wordpress templates
     
    enquiries0009, Oct 14, 2007 IP