Blog

QuickSense

Written by on 16th September 2009 in Wordpress with 743 Comments

Latest Version: 1.9

Here are some features that come with this plugin:

  • Absolutely NO author revenue reward or revenue sharing from your Adsense or that kind of features.
  • Default Ads positioning: Assign Ads to the beginning of post, assign Ads to the middle of post, assign Ads to the end of post, assign Ads after certain paragraphs (3 options available) & assign Ads after certain images.
  • Flexible Ads placement, insert Ads specifically or randomly anywhere within a post.
  • Simple configuration interface, requires no coding knowledge: Just copy and paste AdSense code, tick & select options, the plugin will then do the rest for you.
  • Support any Ads code, not limited to Adsense code only.
  • Display up to a maximum of 10 Ads on a page. Google allows publishers to place up to 3 Adsense for Content on a page. If you are using other Ads, you may display up to 10 Ads.
  • Support up to a maximum of 10 Ads codes on Sidebar Widgets.
  • Support up to a maximum of 10 Ads codes for specific placement & randomization within a post.
  • Ads placement on the fly, simply insert <!--Ads1-->, <!--Ads2--> … , <!--RndAds-->, <!--NoAds-->, <!--OffDef-->to a post to accomplish this.
  • Tags above can be inserted into a post easily via the additional Quicktag Buttons added to the HTML Edit Post SubPanel.

Sign up for a Google Adsense Account to generate revenue from your blog, if you don’t have one.

Download

 

The Quick Overview

Here are the quick overview of the plugin:

Screen shot showing the additional Quicktag Buttons added to the HTML Edit Post SubPanel
Screen shot showing the additional Quicktag Buttons added to the HTML Edit Post SubPanel.
The Settings page from Quick Adsense plugin. There are many ways to configure your Ads display, specifically or randomly as you wish.
The Settings page from Quick Adsense plugin. There are many ways to configure your Ads display, specifically or randomly as you wish.

The Quick Test Drive

If you have just installed the plugin, you may want to test it up. Here is an illustration that you can follow to have a feel of what Quick Adsense can do for you:

  • Go to the Plugin setting page & click the Load Default Setting link located at the bottom of the page.
  • Copy & paste the following Sample Ads1, Ads2, Ads3, Ads4 codes to the Ads textbox respectively, assuming these are your Adsense codes. Do remember to save your changes:
    <span style="display:block;width:250px;height:250px;
      background:#eee;border:1px solid #333;
      text-align:center;font-size:10pt">
    <b>Sample Ads1 (250x250)</b>
    </span>
    <span style="display:block;width:234px;height:60px;
      background:#eee;border:1px solid #333;
      text-align:center;font-size:10pt">
    <b>Sample Ads2 (234x60)</b>
    </span>
    <span style="display:block;width:200px;height:200px;
      background:#eee;border:1px solid #333;
      text-align:center;font-size:10pt">
    <b>Sample Ads3 (200x200)</b>
    </span>
    <span style="display:block;width:120px;height:240px;
      background:#eee;border:1px solid #333;
      text-align:center;font-size:10pt">
    <b>Sample Ads4 (120x240)</b>
    </span>
  • In your post, insert three <!--RndAds--> tags, anywhere within the post (somewhere in the middle is good), use the Quicktag button under the HTML Edit Post Subpanel as you wish.
  • Now, use the Preview Changes button & see how the SampleAds appear in your post. Remember not to update your post as your live visitors may see this.

Link To TechMilieu.com

A link from your blog to http://techmilieu.com/ would be highly appreciated. You can show your support by simply copy one of the HTML code below & paste into your pages. This will help spread the words, thanks.

Text Link : TechMilieu.com
<a href="http://TechMilieu.com/">TechMilieu.com</a>
Tiny Button : Tiny Button
<a href="http://TechMilieu.com/"><img src="http://TechMilieu.com/images/link-20x20.png" alt="TechMilieu.com"></a>

If you believe that Quick Adsense plugin is valuable to you, please consider making a donation. Your generosity will encourage me to improve the plugin in future.

PayPal

Some Thought About This Plugin

Previously, I have written some php codes which allow me to insert Adsense to a post on the fly randomly [ posted to 1. Insert Google Adsense Code Anywhere In Your WordPress Article & 2. Insert Google Adsense Code Anywhere Randomly Within Your WordPress Article ]. The drawback of this code is that you need to modify the theme template directly for the code to work. A comment from Gossips about this code has inspires me to convert the code into a plugin.

I decided to spend a few hours googling & trying to figure out how to create a WordPress plugin. Surprisingly, I found out that writing a plugin is not as complicated as I thought.

Firstly, I have to decide what the plugin can do for me. I want to create a plugin which allows me to quickly insert Ads code to the post. It must be capable to be random. Using tags to triggle the Ads display is always a good choice. Also, to make it more complete, I want the Ads to be displayed on the Sidebar.

Next, I started to design the plugin Setting page. It took me a while to do this as I wanted it to be as simply as possible, at the same time incorporating all the relevant options. The simpler the Setting page you want it to be, the harder the coding would be.

I thought it was nearly finished but realized that it was just started as the developing of the plugin algorithm was head-cracking. See my entire requirement in the first place; the question is how to make the plugin functions nicely? Well, the php excellent array functions really helped me do most of the jobs. Randomization had been done with just a few lines of code.

I really enjoy creating this plugin. My experience is that once started, it is hard to get it stopped. Please feedback for any bug you might have found, or any suggestion you like to add. Hope this plugin which have benefited me would benefit you as well.

Posted Under:
Post Written by

This Article has 743 Comments

  1. Jens says:

    Hi Philip,

    I did a little modifikation on the quick-adsense.php on line 383:

    I replaced

    $adscode = get_option('AdsCode'.$adn);

    with the following lines:


    if(get_post_meta(get_the_ID(), 'AdsCode'.$adn, true)){
    $adscode = get_post_meta(get_the_ID(), 'AdsCode'.$adn, true);
    }else{
    $adscode = get_option('AdsCode'.$adn);
    }

    After that, you’re able to enter custom values for e. g. “AdsCode2″ on a specific post.

    Example:

    You’re running AdSense on all of your posts, but in 1 single post you want to have 1 other banner instead of the default AdSense banner. You probably could deactivate QuickSense and manually place the banners in that post, but then you’ll also have to manually edit alignments etc.

    With my solution you only have to change the banner code.

    Maybe you’d like to implement this in your plugin. If you’ve got any questions, just write me an email.

    Best

    Jens

  2. Peter says:

    Hi Philip,

    Love your plugin.

    I have around 30 sites using your plugin, such as the one above, and all the ads are showing on the sites.

    However, the sites have been up since the end of June & they’re all getting traffic but I’m not seeing any Adsense revenue.

    I think it’s strange that I have not got at least one click through so I’m wondering if I’ve done something wrong.

    Is there any way we can check this out or check my settings??

    Cheers,
    Peter

  3. На странице настройки плагина кнопка [ Load Default Настройка ] не работает, хотя при наведении курсора на неё она преобразуется, как при обычной активизации в палец ладони.
    Как мне найти код для вставки?

  4. luis says:

    I am only getting one ad to show up at a time, I cannot figure out why?

  5. AA says:

    I’ve installed the plugin some days back but the ads wouldn’t show. I waited and reinstalled but still no luck. The sample ads don’t also when I use them as ads1, ads2, ads3. However, if I copy any of the sample ads or my adsence code into the html view of a post, the sample ad or adsence ad shows. What could be causing the plugin not to show the ads automatically in the top, middle and bottom of the post as I’ve specified. Also, set to show 3 ads.

    • Philip Ze says:

      You can check the html source code see whether the ad code appear there. If not try switch to default wp theme to see whether the plugin is conflicting with your current theme.

      • AA says:

        I think the problem will be with my current theme – Newstube. However, it was working very fine with this theme until recently. I really want to use the plugin but don’t know how to resolve the problem.

  6. Hi,

    First this is a great plugin! Would it be possible to add a add placement right under videos? Like you do with images. Allow to place an ad under 1 st vid or 2nd vid and so on. This would be greatly appreciated!

    Best Regards,

  7. Joe says:

    Hi,

    Does it support ad in category list, tag list, archive list pages?

    thanks,
    Joe

  8. delphix says:

    Thank you for a great job, your plugin is really brilliant, but can you help me with it? How can I rewrite function to use “Before 1-2-… image” instead of “After image”. Thank you for your answer


Leave a Reply





You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>