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

Thread: Which adsense plugin for wordpress do you use?

  1. #1

    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
    I am also a writer for Serpholic Media. You can find some of my articles here: Serpholic Media Blog

  2. #2
    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.
    "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
    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.
    I am also a writer for Serpholic Media. You can find some of my articles here: Serpholic Media Blog

  4. #4

  5. 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.
    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.

  6. #6
    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.

  7. #7
    Join Date
    May 2009
    Location
    New York
    Posts
    3,772
    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

  8. #8
    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


  9. #9
    Join Date
    May 2009
    Location
    New York
    Posts
    3,772
    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.

  10. #10
    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.

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
  •