Best Adsense plugin for Wordpress

11 replies
  • SEO
  • |
I'm having a 400+ page website redesigned with wordpress. What is the best way to implement adsense on all the pages? Is there a plugin that will place adsense on all the pages?

Input appreciated...

Adam
#adsense #plugin
  • Profile picture of the author rob6188
    I don't use any of the available plugins, but you will find plenty in the plugins directory. Just pick one of the highly rated ones.

    I find it best to just edit the single.php, index.php, header.php, and/or single.php page and put the code in myself. You can do it right within wordpress or just use notepad and an ftp program. I don't trust a lot of the plugins since they usually have leaks in them.

    Make sure you don't put the adsense just below the title of the article, as this is not really allowed. Insert the code after the "content" line.

    I wrote a small bit of code in php to insert the adsense 300 characters deep into the post so it goes a few lines down from the title. It also looks nicer being embedded into the post rather than on the side or bottom.
    {{ DiscussionBoard.errors[834136].message }}
    • Profile picture of the author The Pension Guy
      Originally Posted by rob6188 View Post

      I wrote a small bit of code in php to insert the adsense 300 characters deep into the post so it goes a few lines down from the title. It also looks nicer being embedded into the post rather than on the side or bottom.
      I would be interested in that "bit of code" - is it available anywhere?
      (because I don't use plugins either)
      Signature

      {{ DiscussionBoard.errors[834144].message }}
      • Profile picture of the author rob6188
        Originally Posted by The Pension Guy View Post

        I would be interested in that "bit of code" - is it available anywhere?
        (because I don't use plugins either)
        It's so simple in php, here it is. Just replace <? the_content ?> line with this code.

        $code = 'Your adsense code here';
        $text = get_the_content();
        $text = substr_replace($text, $code, 300,0); echo $text;

        The code I actually use does a little more by adjusting for the length of the content, adding some white space around the adsense, and some other things I need. But the above code should work fine as is.
        {{ DiscussionBoard.errors[834161].message }}
  • Profile picture of the author The Pension Guy
    Thank you very much!
    Yes, I see now (I can read PHP but can't write one single line of it...)

    Thanks again and have a nice evening.
    Signature

    {{ DiscussionBoard.errors[834189].message }}
  • Profile picture of the author flattop
    Adam,

    I would look up adsense in the wordpress plugin portion of the site, and pick the highest rated ones. You will prolly get code you can stick in the sidebar of the site that will show up on every page, but as far as posting in every post, you will probably have to insert the code yourself on every post. Don't forget to keep in mind the Google TOS regarding how many ads you can have per page.

    Hope that helps,
    To Your Success,
    Clint Anderson
    {{ DiscussionBoard.errors[834279].message }}
  • Profile picture of the author jigsawguy
    I've just setup adsense on a WP blog using plugins and actually use two that work really well together. I use Advertising Manager and Whydowork Adsense. I probably don't need to use two separate plugins but it was the easiest way for me to do what I wanted.

    They are both really easy to implement for both sidebar and inpost adsense blocks.

    rob6188
    I don't trust a lot of the plugins since they usually have leaks in them.
    What do you mean by leaks? There does not seem to be any extra links or anything that would distract a visitor.
    Signature
    PBN Site Setup Service - Let us Setup Your PBN site the right way!
    {{ DiscussionBoard.errors[835565].message }}
    • Profile picture of the author rob6188
      Originally Posted by jigsawguy View Post

      What do you mean by leaks? There does not seem to be any extra links or anything that would distract a visitor.
      Plugins that pull content from other sources will and should have leaks/links to the original source. Some plugins will randomly put links in 1/3 of the posts that they affect in addition to the source links.

      I should rephrase my previous comment to say "Some plugins have leaks" and not "most". Most of the plugins I found at wordpress are pretty clean. But I've only used a dozen or so in the past.
      {{ DiscussionBoard.errors[835954].message }}
  • Profile picture of the author anuj291
    there are many adsense plugins.. use all i one yahoo and adsense plugin.. it gives all th eoption...
    its the best out of all
    Signature
    {{ DiscussionBoard.errors[836067].message }}
    • Profile picture of the author rockgold
      I looked on yahoo for the plugin and couldn't find it. do you know wherre to look?
      {{ DiscussionBoard.errors[842502].message }}
  • Profile picture of the author Greg Jacobs
    this is the best one I found hands down after testing about 6 of them, including the "top ones in the plugin directory"
    WhyDoWork Adsense Plugin

    After you use it you will see why.
    {{ DiscussionBoard.errors[837258].message }}
  • Profile picture of the author Adam Jackson
    Thanks everyone...truly appreciate the advice.

    Adam
    {{ DiscussionBoard.errors[840288].message }}

Trending Topics