Page 1 of 2 12 LastLast
Results 1 to 10 of 18
Like Tree6Likes

Thread: Which adsense plugin for wordpress do you use?

  1. #1
    Mike Dammann's Avatar
    Mike Dammann is offline Super Moderator
    Join Date
    Dec 2008
    Location
    Geographically flexible
    Posts
    964
    Blog Entries
    3
    Thanks
    237
    Thanked 182 Times in 148 Posts

    Which adsense plugin for wordpress do you use?

    I have just tried to find mighty adsense and it doesn't show any results in wordpress. Strangely, their official website is now parked.

    I am looking for a new, easy plugin to install instead which is known to give good conversions.

    Which adsense plugin do you prefer for wordpress?

    Thank you in advance.

    ~ Mike
    For blood type dating go here. If your blood type is rhesus negative, go there. If you are bored and feel like liking a Facebook page, hit this one.

  2. #2
    TopDogger's Avatar
    TopDogger is offline Über Hund
    Join Date
    Jan 2009
    Location
    Hellfire, AZ
    Posts
    3,106
    Thanks
    350
    Thanked 919 Times in 703 Posts
    Several AdSense plugins fell by the wayside when WordPress changed the way that the editor pages worked. I think that was back in version 3.0 or 3.1. They removed some of the functions that plugin authors were using to add selections to the toolbar.

    I am using a modified version of an obsolete plugin named Advertising Manager. The editor feature for inserting ads ceased functioning, but I found a workaround that fixed the problem. I am maintaining it myself and it still does what I want, but it may reach a point where it is no longer viable. An increasing number of WordPress plugins are being abandoned by authors because of the time it takes trying to maintain them with all of the structural changes the WordPress team keeps making. Too many plugins require code changes with every new leap from the WordPress team.

    I would also like to find a new AdSense plugin for use with new sites. It needs to have the flexibility to place ads where ever I want to place them, and it needs to work from the editor pages.
    Mike Dammann likes this.
    "Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a well-armed lamb contesting the vote." -- Benjamin Franklin


  3. #3
    Mike Dammann's Avatar
    Mike Dammann is offline Super Moderator
    Join Date
    Dec 2008
    Location
    Geographically flexible
    Posts
    964
    Blog Entries
    3
    Thanks
    237
    Thanked 182 Times in 148 Posts
    Quote Originally Posted by TopDogger View Post
    Several AdSense plugins fell by the wayside when WordPress changed the way that the editor pages worked. I think that was back in version 3.0 or 3.1. They removed some of the functions that plugin authors were using to add selections to the toolbar.

    I am using a modified version of an obsolete plugin named Advertising Manager. The editor feature for inserting ads ceased functioning, but I found a workaround that fixed the problem. I am maintaining it myself and it still does what I want, but it may reach a point where it is no longer viable. An increasing number of WordPress plugins are being abandoned by authors because of the time it takes trying to maintain them with all of the structural changes the WordPress team keeps making. Too many plugins require code changes with every new leap from the WordPress team.

    I would also like to find a new AdSense plugin for use with new sites. It needs to have the flexibility to place ads where ever I want to place them, and it needs to work from the editor pages.
    Actually, my older blogs still have mighty adsense and it works. If you find something good, please let me know. Something simple. Not too intrusive. Skyscraper in sidebar, 2 ads in the posts. That's about it.
    For blood type dating go here. If your blood type is rhesus negative, go there. If you are bored and feel like liking a Facebook page, hit this one.

  4. #4
    iowadawg's Avatar
    iowadawg is offline Free Cell Champion
    Join Date
    May 2010
    Location
    Not in Texas
    Posts
    2,145
    Blog Entries
    4
    Thanks
    171
    Thanked 365 Times in 314 Posts

  5. Thanked by:

    TopDogger (2 February, 2013)

  6. #5
    bhartzer is offline Net Builder
    Join Date
    Dec 2008
    Posts
    502
    Thanks
    53
    Thanked 135 Times in 101 Posts
    I prefer not to use an AdSense plugin at all. I would rather manually put in the code rather than rely on a plugin.

    A plugin could theoretically automatically replace your adsense code with someone else's code--thus you wouldn't get credit for clicks.
    Mike Dammann likes this.
    Need links? Try AuthorLinks where you can buy or sell links based on Authorship and Klout score. Check out my blog or like me on Facebook.

  7. Thanked by:

    robjones (2 April, 2013)

  8. #6
    Andy101's Avatar
    Andy101 is online now Code Otaku
    Join Date
    Aug 2009
    Location
    Kanazawa
    Posts
    1,313
    Thanks
    178
    Thanked 309 Times in 236 Posts
    For the sidebar placement you can use the text widget from the admin area.

    You can edit your theme to insert Ads above the posts. You can do this from the Admin area in say the index.php template.

    For in-content Ad insertion, you want a plugin that counts the paragraphs and makes sure not to violate the Adsense TOS by inserting too many Ads into archive and post list pages. Or the plugin might use a token that you insert into posts, and the plugin replaces the token with the Ad code.
    Mike Dammann likes this.
    Otaku CMS - Import a WordPress blog and manage your site using single-page App technology

  9. Thanked by:

    robjones (2 April, 2013)

  10. #7
    bogart's Avatar
    bogart is offline Super Moderator
    Join Date
    May 2009
    Location
    New York
    Posts
    3,772
    Thanks
    1,886
    Thanked 776 Times in 609 Posts
    Instead of plugins, use an include statement to insert the adsense code and store each ad unit into a separate text file with the php extension i.e. ad1.php

    Code:
    <?php include("ad1.php"); ?>
    Here's an example of a website using PHP include to insert the ad units: Misa Campo | Misa Campo Biography on her career and life.

    How to add Google AdSense code into to the WordPress Loop

    Look for loop on the index page:

    Code:
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    To insert the ad unit between the post title and post. The Google AdSense ad unit will be placed in only the first 3 posts.

    Code:
    <?php  if ($wp_query->current_post < 3) { ?>
    <?php include("ad1.php"); ?>
    <?php } ?>
    Read more:
    How to add a Google AdSense link unit to the WordPress Loop | ButlerBlog

    To wrap the text to left of the ad, add your adsense code in between these lines

    Code:
    <div style="display:block;float:right;margin: 0px 10px 0px 0px;"> 
    
    Your Adsense ad script  
    
    </div>
    Read more: How To Add Adsense In Wordpress - Wrap Adsense Ads With Content

  11. Thanked by:

    robjones (2 April, 2013)

  12. #8
    TopDogger's Avatar
    TopDogger is offline Über Hund
    Join Date
    Jan 2009
    Location
    Hellfire, AZ
    Posts
    3,106
    Thanks
    350
    Thanked 919 Times in 703 Posts
    The PHP code is fine when you want to add the PHP to a theme file, but PHP code does not execute from within post content or a text widget unless you add a plugin.
    "Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a well-armed lamb contesting the vote." -- Benjamin Franklin


  13. #9
    bogart's Avatar
    bogart is offline Super Moderator
    Join Date
    May 2009
    Location
    New York
    Posts
    3,772
    Thanks
    1,886
    Thanked 776 Times in 609 Posts
    Quote Originally Posted by TopDogger View Post
    The PHP code is fine when you want to add the PHP to a theme file, but PHP code does not execute from within post content or a text widget unless you add a plugin.
    To execute within a post insert the code into the single.php file within your template folder. For example place insert <?php include("ad1.php"); ?> after the post title and <?php include("ad2.php"); ?> at the end of the post.

    The include command won't work in a widget, but you can insert a include command directly into the sidebar.php file.

    Within 5 minutes it's possible to make all the necessary modifications to the template file. After that you won't need to touch the template again as all the Adsense code is in separate files.

  14. #10
    Andy101's Avatar
    Andy101 is online now Code Otaku
    Join Date
    Aug 2009
    Location
    Kanazawa
    Posts
    1,313
    Thanks
    178
    Thanked 309 Times in 236 Posts
    For the sidebar, the text widget is fine since Adsense code is Javascript.

    Also, if you are going to customize the default theme, make a copy of it with a new name so it is not over-written when WP is updated to a new version.
    Mike Dammann likes this.
    Otaku CMS - Import a WordPress blog and manage your site using single-page App technology

  15. Thanked by:

    bogart (1 April, 2013)

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •