AdSense-Deluxe WordPress Plugin

Free Ringtones

Updated for WordPress 2.0…

AdSense-Deluxe is an easy-to-use plugin for WordPress 1.5+ (including WP 2.0) for quickly inserting Google or Yahoo! ads into your blog posts, and managing when and where those ads are displayed. It was developed for my own use after an exhaustive search for a similar tool turned up nothing adequate.

Have you added Google AdSense to your WordPress blog yet? Or maybe thought about it? I was thinking about this last year and knew I could do it generically in the templates, or painfully by pasting the AdSense code into each post I wanted it in, but neither seemed like the optimal way to accomplish my aims. I wanted some flexibility in deciding which posts ads appear in and perhaps some control of which ad format would display in any given blog post.

I found Phil Hord’s AdSense WordPress plugin ( and gave it a test. It’s simplicity was great and it offered some of the control I thought I wanted while avoiding template changes. Phil’s plugin is configured by pasting your AdSense code into the plugin PHP file, then adding an HTML comment (“<!–adsense–>”) anywhere in a post, then your ads are substituted for the placeholder when the post is served. The plugin operates in the common role of a WordPress filter hook.

Working from phil’s simple and effective design, I started digging into the basics of WordPress plugin coding to add some of my the items on my wish list. The first item on the list was having a choice in different AdSense code blocks. It would have been trivial to just put all the different blocks into the PHP code and use a bit of conditional logic for choosing among them, but that’s not very nice for anyone not comfortable mucking about in PHP source code. Which led me to discovering that plugins can have their own configuration pages….Cool! :-)

Introducing AdSense-Deluxe.

AdSense-Deluxe Plugin Download & Version:

Selectively embed Google AdSense and Yahoo! Publisher Network ads in your WordPress posts.


  • Use simple HTML comments for embedding AdSense or Yahoo! Publisher Network ads in a WordPress post
  • Choose from any number of ad styles and format on a post-by-post basis
  • Globally change ad styles
  • Selectively disable display of individual ad styles or all ads
  • Integrated AdSense Preview tool (a sandbox) for seeing what ads will appear on a given page. (Stand-alone AdSense SandBox Tool also available)
  • All settings configured through WordPress Options interface (no knowledge of plugins or PHP required)
  • Easily test different ad formats and color styles across (all, or) a range of blog posts.
  • (Optionally) Apply CSS formatting to the AdSense code.
  • Does not display live ads when editing a page, instead placeholders are shown.
  • Ads are EXCLUDED from RSS feeds — even if you have full-text feeds enabled. (new in v0.3)
  • Preview your ad blocks from the AdSense-Deluxe options page (in case you forget what the ad style looks like), and ads can be clicked without penalty since they use a test account.
  • Support for wp-tiger-admin plugin’s CSS in post/page editor QuickTags

AdSense-Deluxe Advantages and Uses

  • Switching all AdSense ads to a new color scheme across the entire site
  • Trying out image ads instead of textual ads
  • Testing alternate AdSense formats
  • Disabling a class of AdSense ads, or even all ads
  • Including common formatting for AdSense ad blocks (less typing)
  • Testing alternate ad placements for higher click-thru rates
  • Controlling ads within your WP template files.


After installation (described later and in the plugin distribution’s readme file) click on the WordPress Admin “Options” link, then select “Adsense” on the sub menu to get to the settings interface. Copy your AdSense code from Google and paste it into the form on the Options page and give it a name. If it’s the style you’ll use most often, just name it “default”. Now you can edit an existing post in your WordPress blog by adding either <!–adsense–> to use whatever you select as your default AdSense format, or by referencing the name you defined, such as <!–adsense#default–>. Now view your post after saving the changes. You should see AdSense ads wherever you inserted the HTML comment.

You can wrap inline CSS styles around your AdSense blocks, or place any other html or strings around, before or after the AdSense JavaScript. For example:

<div style="display:block;float:left;padding:5px;">

<script type="text/javascript"><!–
google_ad_client = "pub-555555";
google_ad_width = 468;
google_ad_height = 60;


[New in v0.5] To insert any of your defined ad units within template files, you can call a PHP plugin function with the name of the ad unit you want displayed. The syntax is as follows:

<?php adsense_deluxe_ads('my_AdBlock_name'); ?>

However, it’s strongly recommended that you always confirm that the function is available to keep from generating PHP errors or breaking your page display, using the following syntax:

<?php if(function_exists('ad_unit_name')) :
adsense_deluxe_ads('my_ad_unit'); endif; ?>

When you use this new feature it enables the plugin to track the total number of AdSense units displayed on a page and avoid inserting more than the maximum of three units allowed by Google. Sadly, this tracking isn’t completely refined yet and the following example illustrates the issue I still have to code for: Assume you have a single ad unit in a template file, but three ad units in a single post. The plugin tracks the ads displayed for the template and increments the counter by 1. However, replacements are done en masse in a single post, thus the page will now have four ad units displaying (the last of which is going to be blank since Google will not display more than three). The internal counter is now at 4, and if other posts appear on the page they will NOT have any substitutions performed. At some point in the future I will have to rewrite the code to stop doing mass replacements, but for now this is more efficient.


» Requires WordPress 1.5+ (including WP 2.0)
» Installed like most all WordPress plugins, just copy the adsense-deluxe.php file into wp-content/plugins
» See the ReadMe.txt file included with the download (before you email me for support!).


» Not technically a limitation, but during testing I noticed that switching which ad format I wanted to use as the default, my browsers continued to show me the old one. This was simply the browser going to its cache for the page. Restarting the browser always resulted in the proper page being shown.
» It currently does no substitutions in WP templates. If users can provide sufficient motivation for doing this, I’ll add it, but right now I prefer managing template-based adsense blocks manually.
» When you click the “edit” link to edit an existing AdSense code block, it’s supposed to scroll the window down to the editing form. This seems to work reliably in FireFox (Mac OS X), but only works half the time in Safari browser. It can be confusing though if you’re not already familiar with the options screen since the page reloads but doesn’t scroll down to show you the form with your data.
» You’re limited to a maximum of 3 AdSense blocks on a single page. If you embed AdSense code into your templates, this counts against the 3 unit maximum, and sometimes Google simply doesn’t have enough ads for your content, so you’ll get empty space in your pages unless you use AdSense’s features for showing alternate ads or folding the empty blocks.

Future Directions:

The current “wish list” I have is geared towards locating the posts in which I have adsense tokens — whether a specific ad block or all ad blocks, and being able to perform mass (and selective) search/replace operations on those posts. It’s simple now to change which ad style is displayed across all the posts where you’re using a named or the “default” ad block, but I’m imagining I’ll (and others) will eventually want to be able to do some house cleaning and review over time.

Something else I just discovered is that I may want to replace an existing ad block which has been in use and contained in various posts, but I’d like to change the name of it to reflect the new style I’m switching it to. In this case, any posts still referencing that named adsense block will no longer get ads displayed since no ad block by that name exists any longer. Ideally, the plugin should update all posts containing that named block with the new name. I do plan on adding features for locating, removing and changing the placeholders within existing posts, but want to approach this very cautiously since mass replacements within the database has the potential of wreaking some havoc…

Release Notes

New in v0.8 2006-06-27
- Fixed bug in "Reward Author" Option. Recommended that everyone upgrade to this version.
New in v0.7 2006-01-10
- Initial support for WordPress 2.0 Rich Editor.
- Minor documentation changes.

New in v0.6 2005-12-13
- Bug fixes
- Fixed problem with packaging the zip file under OS X.

New in v0.5 2005-10-03
- Added PHP function for inserting ads into WordPress template files (see ReadMe file for usage).
- Automatic version checking (checks every 7 days for newer plugin versions)

New in v0.4 2005-08-03
- Fixed QuickTag menu display when Tiger-Admin plugin is activated.
- Added preview of your adsense blocks (click the linked Description on any ad block and a window pops up which attempts to display the ads in the style you defined; Note: the ads can be clicked without penalty since they use an adsense test account (”ca-test”).

New in v0.3 2005-08-01
- Fixed problem of AdSense showing up in Full Text RSS feeds.
- Fixed call-time pass-by-reference warnings from PHP.
- No longer “rewarding author” on anything other than Post or Page pages.
- Fixed problem with only two (2) ads being shown on a given page.
- Added AdSense-Deluxe quicktag menu to post editor.
- Stopped showing live adsense in post editing previews; now displays a placeholder
- Added stripslashes() around calls to edit an ad and to display adsense code in posts.
[axodys] reported his ads getting escaped on WP 1.5.3 (with magic_quotes_gpc Off).
- Editing an ad which was disabled causes it to be enabled when saving (fixed).

v0.2 2005-07-28 - Initial (public) release.

Screen Shots:

(clicking any image will open it full size in a new window)

AdSense-Deluxe Options Page Header

AdSense-Deluxe Wordpress plugin Main Options Page

List of defined AdSense-Deluxe Ad Blocks

AdSense-Deluxe Wordpress plugin Ad definitions

AdSense Preview Tool

AdSense-Deluxe Wordpress Plugin Preview Ads

AdSense-Deluxe QuickTag Menu

AdSense-Deluxe QuickTag Menu

Sample Post from this Blog with Multiple AdSense ads

Adsense-Deluxe WordPress Plugin-2 Ad blocks

Closing Remarks:

I hope you find the AdSense-Deluxe as useful as I have over the last year. I look forward to your comments, feature requests and bug reports and will do my best to be attentive to all feedback. Nonetheless, the plugin is offered with no guarantees, warranties, or assurances of any kind, other than the fact that I use it on multiple WP blogs of my own, and have since mid-2005, without any noticeable problems.

If you this plugin helps you earn more from your WP blogs, you’re encouraged to check the option in the configuration screen which “Rewards [the] Plugin Author”… This option uses my publisher ID in 5% of the ads displayed on your site so if someone actually clicks one of those ads, I’ll receive a small commission. It’s fun and helps keep me motivated to release future udpates to this plugin.

93 Responses to “AdSense-Deluxe WordPress Plugin”

  1. Michele Neylon :: Pensieri Says:

    Adsense Deluxe Plugin Released

    Even though I only made a modified version of the adsense plugin available a couple of days ago it has already been superceded!!

    Wayne has released a much more advanced plugin that allows you to define multiple adsense code blocks via the &#82…

  2. OptiNiche Blog Says:

    Amazing New AdSense Plugin For WordPress

    If you’ve chosen to monetize your blogs with AdSense, then this new plugin may come in handy for you.

  3. Amazing New AdSense Plugin For WordPress - OptiNiche Blog Says:

    […] 07-29-2005 Amazing New AdSense Plugin For WordPress I’ve just caught wind of a brand new AdSense plugin which seems to do quite a bit in terms of custo […]

  4. Tech Gadgets Blog - Says:

    Adsense-Deluxe - the advance google adsense wordpress plugin

    If you are using Google Adsense Wordpress plugin then I am sure you will like to switch to Adsense-Deluxe. In the post, I said I want a adsense plugin that allow me to insert different ads blocks. wkw said he will release it one month ago. Now, the wa…

  5. Ambot ah! » WP Plugin: AdSense-Deluxe Says:

    […] isited 1 times) If you have AdSense as your source of revenue, the WordPress plugin AdSense Deluxe might be the best ever WP plugin ever made. It easily al […]

  6. » Blog Archive » Better Adsense Plugin… Says:

    […] have to do is have a tag name for them. If you would like to see more, just surf on over tohere. This entry was posted […]

  7. » AdSense Plugin For WordPress  InsideGoogle - part of the Blog News Channel Says:


    AdSense Plugin For WordPress

    Here’s a report on a very useful plugin for Wordpress, that allows you control over how you p […]

  8. Weblog Tools Collection » WP Plugin: AdSense-Deluxe Says:

    […] WP Plugin: AdSense-Deluxe Categories - LinkyLoo Wordpress Plugins — Mark WP Plugin: AdSense-Deluxe: Do you monkey with AdSense on your Wordpress […]

  9. Ka Webspy News and Journal » AdSense-Deluxe WordPress Plugin Says:

    […] Easily test different ad formats and color styles across (all, or) a range of blog posts.(Source.) For download visit this […]

  10. BeatYou Says:

    Excellend plugin, I even checked the reward the author box.

  11. BeatYou Says:

    One minor problem with the plugin, and it may not even be a problem with the plugin at all. The ads only appear twice on the page when I have the tag after every single post, why is this?

    my site: - See after the first two posts the ads disappaer from the end of the posts. Strange to me. Thanks

    BeatYou and Angela,
    I’ve found the flaw in my logic which is causing that and think I have it fixed now. Still doing final testing, but expect the next release (v0.03) to include a fix for that. The logic was intended to limit the ad blocks on a given page to no more than 3 adsense blocks, since Google won’t place ads for more than three. This is a little difficult to properly track fully, but doing my best to make it as robust as possible.

  12. Full(o)bloG » Blog Archive » Wordpress e AdSense Says:

    […] camente tag come il <br/>. Per risolvere il problema ci ha pensato l’autore di AdSense-Deluxe, il plugin in questione permette di inserire, e gestire, […]

  13. Mind Sharer - For The Marketing Mind » AdSense-Deluxe WordPress Plugin Says:

    […] asily test different ad formats and color styles across (all, or) a range of blog posts. AdSense-Deluxe WordPress Plugin - [Acme Technologies Zeitgeist] […]

  14. Las penas del Agente Smith Says:

    Plugin AdSense para WordPress

    En caso de que alguien est meditando seriamente sobre poner publicidad Google AdSense en su blog, ha aparecido un plugin para gestionar los bloques de publicidad que tiene bastante buena pinta. Avisados quedis.

  15. A Geek’s Point Of View » Blog Archive » AdSense WordPress Plugin Says:

    […] o; Previous Post

    AdSense WordPress Plugin

    Here’s a really cool AdSense WordPress plugin. It makes it really easy to add AdS […]

  16. Join the Digirati » Blog Archive » Adsense WordPress Plugin Says:

    […] Productivity Tips For Avid Blog Readers Adsense WordPress Plugin Wordpress Adsense Plugin » AdSense-Deluxe WordPress Plugin Acme Technol […]

  17. kashaziz Says:

    Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of preg_match_all(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in [file path] on line 494

    Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in [file path] on line 581

    These warnings have been eliminated now. release 0.3 of the plugin will include those fixes.

  18. Adsense Empires » Google Adsense Deluxe for Word Press Blogs! Says:

    […] WordPress Plugins. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a respons […]

  19. Money Making Blogs » Blog Archive » Adsense Plugin for WordPress Says:

    […] plugin is Wayne Walrath (thanks Wayne!) of Acme Technologies and you can download it from here. The plugin is easy to install. After you download the zip file, u […]

  20. angela Says:


    Cannot place more than 1 ad unit per page. I mean: I insert two tags like but only the first ad unit is displayed. Is it how it should work or I don’t understand something?

  21. wayne Says:


    You should be able to have up to three ad blocks on any given page. A couple of thoughts: if you already have some ad units setup in your template, those will count against the 3 limit. If not, my guess would be that google isn’t coming up with enough unique ads to fill all three spaces. But I know that I’ve got one or more posts where I’ve used 2 ad blocks and they both show up. (as a matter of fact, this post has two defined on it).

  22. wayne Says:

    OK, there is a flaw in the logic which tracks the number of ads the plugin has already shown for a given page. If I merely disabled the check for how many ads have already been shown (an easier solution to this), you would end up with some blank spaces on (for example) the 4th, 5th, etc. posts in the Home or Archives pages.

    I’ll have to examine the logic closer to see if I can work this out, if not I’ll simply disable my checks.

  23. richards1052 Says:

    Wayne: I haven’t installed your plugin yet. But I did install Phil Phord’s adsense plugin & what I didn’t know was the 3 ad block maximum for any pg. So I merrily went about adding adsense blocks to various posts & the noticed that the major adsense tower ad in my sidebar disappeared. I stopped using the plugin as a result.

    So I guess what I’d like to see is a plugin that would allow you easily to monitor the ad blocks on any given pg. so you wouldn’t knock the sidebar tower off. In fact, I think the plugin should tell you when you’re about to exceed 3 ads on a pg. if that’s technically possible.

    Richards1052, I’ve outlined the strategy I presently use for controlling ad placement, and hope to get some discussion going at this post: Controlling AdSense Placement in your Blog

  24. Axodys » WordPress Plugin Weirdness Says:

    […] WordPress Plugin Weirdness
    Posted by Jason under Journal 

    There’s a cool AdSense plugin that allows you to set up individual ads in spec […]

  25. axodys Says:

    I’ve installed the plugin, but not the admin options fix (is that still necessary under 1.5.3?) and I’m running into a problem with quotation marks getting escaped. Somewhere between what I originally entered into the form and what gets stored the quotation marks are getting converted- and they’re staying that way when they get inserted into the post they belong. Having the quotations marks escaped within the html output seems to prevent the AdSense ad from actually working in the page. Any thoughts as to what’s going on here and how I can rectify it?

  26. wayne Says:


    Probably has something to do with your setting for magic_quotes. I thought I was properly handling that with this code:

    if (get_magic_quotes_gpc()) {
    $_GET = array_map('stripslashes', $_GET);
    $_POST = array_map('stripslashes', $_POST);
    $_COOKIE= array_map('stripslashes', $_COOKIE); }

    but I guess not. I emailed you to ask if you’d set-up a phpinfo() page on your server I could view. I need to compare what your php settings and locate what the difference is to my server’s.

  27. reality really bites » Blog Archive » AdSense-Deluxe WP Plugin ver 0.3 (latest) Says:

    […] ed on the 28th. So people,what are you waiting for? Go upgrade the plugin or install it. Here’s the url.

    Posted in blogg […]

  28. Acme Technologies Zeitgeist » Restyle Your WordPress Admin ala OS X Tiger Says:

    […] AdSense-Deluxe Plugin Adds support for Tiger-Admin WordPress plugin. […]

  29. Acme Technologies Zeitgeist » AdSense Strategies for WordPress Blogs Says:


    AdSense Strategies for WordPress Blogs

    Richards1052 left this comment for me a few days ago in response to using AdSense ad […]

  30. Axodys » AdSense Deluxe Update Says:

    […] re , InterWeb , Coding 

    Thanks to the hard work of Wayne over at Acme Tech the AdSense Deluxe WordPress plugin that I was running into some pr […]

  31. Darren Straight's Blog Says:

    Installed AdSense-Deluxe

    I’ve just installed a WordPress plugin called AdSense-Deluxe which can insert my adsense ad’s from Google into my posts, to insert the code all I do is use quicktags.
    Features for this plugin include:
    Enable Ads on Individual Posts

  32. TMTB Affiliate Marketing » Useful WordPress Plugins and Other Info Says:

    […] figure the follow ellipses to something more user-friendly, like “read more”. AdSense Plugin - I haven’t used this one, but it’s for inser […]

  33. eLOG Says:

    […] 11:33 am:

    Below is a list of Wordpress plugins that may be useful in the future. Ad-Sense: allows for quick integration of Google’s Ad-Sense progra […]

  34. richards1052 Says:

    I wanted to congratulate you on handling the issue of voluntary donations so well. Another WP plugin author informs users that 20% of their ad sales will go to him. No ifs, ands or buts about it. It’s mandatory. I think it’s so much more easygoing to make this voluntary.

    I don’t mind rewarding plugin authors for their hard work. I just don’t like to be told I’m going to do it.

  35. laotse007 Says:

    I activated your plugin together with other plugins and after that i can’t manage my pages. So i deactivate 1 plugin after the other to look, if this plugin causes that behaviour - if not, i activated it again.
    As your plugin was deactivated, i could manage my pages as before, so i think that it maybe incompatible with any other plugin.

    I found out (after reactivating your plugin) that managing my sites is also possible after deactivating the “codex” plugin (i linked it because i think, you’ll have a look at it ;-) )

    So i must live without codex which has much less benefits than your plugin!

    At next i whill activate the tiger-admin :-)

    Thanks for that great plugin and greatings from Hannover, Germany


  36. vrada Says:


  37. » Exclusively Google Says:

    […] got to say that its a pretty handy plugin. I totally recommend you check it out…. WordPress Plug >> Adsense Deluxe   […]

  38. Xawiers weblog » Archyvas » Apsileidims ? Says:

    […] utams) nenuchakyta naudojantis WP bugais. Spėjau atsinaujinti sistemėlę ir įgrūsti WP AdSense pluginą. O kam pinigų nereik ? Tuo pačiu dar užėjau į goog […]

  39. theenglishguy Says:

    Hi! I am using your plugin but am plagued by a little problem with it. It seems whenever I add in adsense blocks from the plugin, it won’t show more than one of them! I have even taken out “normal” adsense code from the sidebars and comment forms, but still, only shows one.

    Anyone got any suggestions on this? Thanks!

  40. wayne Says:

    Hi TheEnglishGuy,
    Google will only place a maximum of three ad blocks on a page. this will of course include any which you’ve placed in your WP templates. If that’s not the case, I’m pretty certain that the problem is merely one of Google not having enough ads to show for all the adsense blocks on your page. I see this on some of my pages. To confirm this, just view the HTML source of the page and make sure the google AdSense javascript stuff appears where the ads are NOT showing up.

  41. theenglishguy Says:

    Thanks, the response is much appreciated, I’ll check that out.

  42. Tech News Online Says:

    When i add the code to my posts, it simply shows an HTML comment in the source, please help?

  43. wayne Says:

    Tech News Online,
    Can you give me a page to look at where this is happening? What version of WordPress are you on?
    Something unique is going on in your set-up since no one else is reporting that NO Ads are showing up….

  44. Think Outside The AdSense - OptiNiche: WordPress Optimization Blog Says:

    […] side The AdSense Not too long ago, I made mention of a great new AdSense plugin called AdSense Deluxe. I’ve had a chance to test it out on one of my sit […]

  45. Says:

    Wordpress themes optimized for Adsense

    Wordpress is great for blogging, you don`t have to know a thing about design and there´s no problem at all to publish to the Internet. But if you would like to have Google Adsense integrated in your blog´s design and you don`t know how, you have a p…

  46. » Adwords, google and plugins» Blog Archive » Complex solutions to simple problems Says:

    […] d cluttered blog, but I dont mind the occasional ad here and there. I am trying to use the adwords deluxe plugin. It looks promising (although it’s not worki […]

  47. » Making Sense of Adsense Says:

    […] that reveals a ‘plug in’ that is supposed to work on my WordPress software here at the and here at the . Tomorro […]

  48. unteins Says:

    I am having a problem where with AdSense Deluxe activcated, my blog homepage stops displaying before fully loading. In other words, the homepage never gets to the closing html tag (actually, doesn’t even get to the sidebar anymore). I am not 100% certain this is the problem, but I do know that deactivating AdSense Deluxe changed my page generation times from 3.0 seconds to 1.5 seconds.

    Any ideas?

  49. Darren Straight’s Blog » Blog Archive » AdSense-Deluxe 0.4 released! Says:

    […] ting this plug-in based on Phil Hord’s AdSense WordPress plugin, it will serve me well. AdSense-Deluxe WordPress Plugin Phil Hord’s AdSense WordPress plugin […]

  50. invictus Says:

    I am getting an error: Cannot load adsense-deluxe.php.

    This happens when I try to configure the AdSense-Deluxe on the options page.

    anyone have any ideas help would be appreciated

  51. wayne Says:

    Invictus (and others),
    On the plugins admin menu where you activate and deactivate plugins is a shortcut link to take you to the Adsense-deluxe options page. This shortcut only works if you put the plugin file into wp-content/plugins. If instead you have the plugin in a sub-folder/directory from there, that link will not work and you’ll need to access the options for Adsense-deluxe by first clicking Wordpress’s “Options” menu, then the adsense-deluxe submenu.


  52. » Adsense Plugin for Wordress Says:

    […] er 14th, 2005

    Good news for WP users! I’ve came across this fantastic Adsense pPlugin for Wordpress users. It enables you to add Goo […]

  53. richards1052 Says:

    I’ve noticed ever since I began using Adsense Deluxe that the ad box (mine is set up to show 2 ads horizontally) displaying in my blog post is too short for the actual adsense ad and you don’t see it in its entirety. If you place your mouse within the ad box you can use the scroll bar to move up & down to see the entire ad.

    Is this the way the plugin’s supposed to work, Wayne? Or is there a way to increase the height of the ad box a smidge so visitors can see the entire ad w/o having to scroll.

    To see what I mean, check out this link.

  54. wayne Says:

    This is almost certainly a browser issue. I have at times had the same problem using Apple’s Safari browser. Restarting the browser or viewing it with FireFox showed the ads formatted properly. The only way this could be an issue with the plugin is if it’s not substituting the entire adsense code into the page, which I kind of doubt is the case. Most of the time when this happens it’s because you started with one ad format, then switched to a different sized format within the same session. I think your browser is just caching the page, and if you’re using Safari, I’m sure that’s the case.

  55. TheSMSGuide Blog » AdSense-Deluxe WordPress Plugin Says:

    […] nse ad blocks (less typing) Testing alternate ad placements for higher click-thru rates Read more on AdSense-Deluxe WordPress Plugin Technorati Tags: google, […]

  56. Expert Publishing » Blog Archive » Acme Technologies Zeitgeist » AdSense-Deluxe WordPress Plugin Says:

    […] dSense-Deluxe WordPress Plugin Now THATS a nice wordpress plugin….

    Acme Technologies Zeitgeist » AdSense-Deluxe WordPress Plugin Overview: […]

  57. sexysaundra Says:

    I am using AdSense-Deluxe on my sexydiet website. I will keep you posted of my results. P.S. I want to thank you for this plug and reward you with the reward plugin author.

  58. wayne Says:

    Just got a request from an Adsense-Deluxe fan who requested the ability to rotate ad formats for the html comment tokens which act as placeholders for adsense blocks. Anyone else interested in this feature? And how would you envision the user interface for setting up the multiple ads?

  59. AdSense-Deluxe WordPress Plugin v0.5 Released » Acme Technologies Zeitgeist Says:

    […] isplayed at the top of your AdSense-Deluxe options page. You can get the latest update at AdSense for WordPress Plugin - AdSense-Delu […]

  60. My Software Gold Mine Web Log » Blog Archive » How Internet Marketers Can Use Blogs To Increase Profits Says:

    […] If you want to add AdSense to your WordPress blog, go to this page and get the free plugin. […]

  61. European Press Agency Newswire » Blog Archive » AdSense-Deluxe WordPress Plugin » Acme Technologies Zeitgeist Says:

    […] AdSense-Deluxe WordPress Plugin » Acme Technologies Zeitgeist […]

  62. ed146 Says:

    Hey Wayne,

    Great Program and way to go!

    I do have a one bit of problem though. When I tried to validate XHTML it gives me the error saying my site cant be validated when the AD sense delux is activated. I am running 1.5.3 wordpress on my site. Any way to fix this problem?

  63. xblog Says:

    great job there. Nice Work of Plugin. sorry to be a bummer… having trouble on wrapping the ads to my post. Can anyone help out? By the way, where or which file should i put this


    As you mentioned after activate?

  64. monsterlippa » Blog Archive » Prove di pubblicità Says:

    […] Sto provando Google Adsense e il plugin Adsense Deluxe per wordpress. […]

  65. Xblog by X-Sysonline » Adsense-Deluxe WordPress Plugin Says:

    […] here’s what you would need ..Adsense-Deluxe WordPress Plugin by Acmetech.( Click the link where you can download the plugin from the creator.) […]

  66. This is really not it » Blog Archive » Wordpress plugins - Spam Karma 2 and Adsense Says:

    […] I’ve installed a couple of WordPress plugins on the blog. I’ve just started getting spam, so hopefully the impressive looking Spam Karma 2 will sort that out. And it seems the hassle of manually adding Adsense blocks to posts is avoided by the Adsense Deluxe plugin. Here’s a sample, just to see how it looks: […]

  67. Schroeder Blog » Blog Archive » Google Adsense Wordpress Plugin Says:

    […] I added a Google Adsense Wordpress plugin which makes it easier to integrate Google Adsense Ads into a wordpress post and at different sizes. […]

  68. Beginner Millionaire » The WordPress Plug-In List for Niche Bloggers Says:

    […] Adsense Deluxe - Allows you to easity and *selectively* insert Adsense ads in your posts. […]

  69. La mate por un yogur » Adsense Delux (Plugin para WordPress) Says:

    […] Con Adsense Delux podremos configurar cuantos anuncios queramos, con sus diferentes estilos y posiciones dentro de los post. Podremos configurar banners para colocar en la parte izquierda del texto (ejemplo en esta noticia), as como en la derecha, arriba o donde se nos ocurra. […]

  70. Webmasterfind Blog Adsense Deluxe Says:

    […] Mit dem Wordpress Plugin WP-AdSense-Deluxe lassen sich auf einfachste Weise Google Adsense Anzeigen einbinden. Das Plugin wird ebenfalls benötigt, um Adsense Anzeigen korrekt in den Beiträgen anzuzeigen. Andernfalls würden die Anzeigen von der Blogsoftware zerschossen werden. Übrigens: Unten ist ein Beispiel des neuen Empfehlungs-Botton von Google Adsense Partnerprogramm Stichwort: adsense, blog, Blogs, plugin, wordpress […]

  71. Adsense With Wordpress at no way computer Says:

    […] It should be noted that there are plugins for Wordpress (1.5+) to ‘ease’ the implementation of adsense into wordpress, however these plugins don’t allow for as much control as some users might like. Some of them are also more focused towards inserting ads into individual posts, which doesn’t really play nice with Google’s 3 ad limit. That said - some links of interest include: Acme Technologies and Adsense Logger […]

  72. evossman Says:

    Great plugin, only thing I had trouble with this being my first plugin was the directions to add it and directions for how to make the text wrap around the adsense. I made some simple yet detailed instructions at my blog,
    Check them out and reword or keep and maybe add to next release readme file.
    Great plugin though, really easy after some figuring out the adding part.

  73. HOWTO: AdSense Deluxe and Template Hacking at Acid - Says:

    […] A few days ago, I posted to the Binary Bonsai list on Flickr asking about hacking the K2 theme templates for this site in order to place Google AdSense ads in controlled places - specifically above all posts and after the first or only entry on a page. Well, after a few days poking about, I’ve figured it out and now have exactly what I want. And… I have it set up so it’s as configurable as I want it! It’s all been done with a combination of editing just one file theloop.php and using the AdSense-Deluxe plugin for WordPress. Using AdSense-Deluxe you save yourself the hassle of directly inserting the Google AdSense code, and open yourself to the ability to reconfigure your ads at any time using the plugin. It’s a significnatly more flexible way of doing this. Here’s how it’s done. Note, I’m assuming you’re using the K2 theme for WordPress, but with a little thought, it should be adaptable for any WordPress theme. […]

  74. tomas de aquino » AdSense-Deluxe WordPress Plugin » Acme Technologies Zeitgeist Says:

    […] AdSense-Deluxe WordPress Plugin » Acme Technologies Zeitgeist Tags […]

  75. Dave Says:

    One small problem with the plugin is that the copyright symbol on line 264 causes a problem when validating with the w3c’s validator. Since all my wordpress pages are UTF-8 (the default) this copyright symbol causes an error. The following patch fixes the problem:

    — adsense-deluxe.php.orig 2005-11-28 15:01:09.000000000 -0800
    +++ adsense-deluxe.php 2005-11-28 15:11:18.000000000 -0800
    @@ -261,7 +261,7 @@

    function add_adsense_deluxe_handle_head()
    - echo “\n”.'’ . “\n”;
    + echo “\n”.'’ . “\n”;


  76. Dave Says:

    Alas the line of code that is corrected by the patch contains , causing it to not show up in this comment… Well, basically all the patch does is replace © with © on line 261.

  77. The Savvy Technologist » Blog Archive » AdSense on the Savvy Technologist Says:

    […] I’ve been curious about Google’s AdSense program for a while so I installed the AdSense plugin for WordPress and signed up. I have no illusions about making any money from this, and it’s the last time I’ll mention it on my blog unless something really interesting happens. I guess I’m just impressed with the overall system and the fact that there are bloggers out there making a living from their online writing. […]

  78. Pythons Blog » Blog Archive » WordPress Adsense Plugin Says:

    […] I just recently came across this great WordPress plugin: Adsense Deluxe. […]

  79. tom Says:

    I just installed this and have a question. When I want to make the text wrap about the ad, and use the tags as shown above, the font size of my text changes after the tag is inserted. How can I fix this? Here is my site to see what I’m talking about.

    As you can see, where the ad is placed, the text size changes and becomes much larger. The code is used is identical to that of what is provided above. I have no idea what would cause this :/ Thanks for any help.

  80. arj stuff » Keep your metadata to yourself! Says:

    […] When I downloaded the google-ads plugin for wordpress, the zip also contained a directory called __MACOSX. So apparently the writer of this plugin (or at least the packager) was using OSX and simply added all the files in a certain directory. For people using OSX this stuff is usually not that visible and has its use I guess, but to me it’s just in the way and I have no use for it when I simply download a piece of software. Luckily, this time it was only a file of 9 bytes, but a while ago I downloaded a zip containing pictures, and there the __MACOSX directory seemed to contain not only thumbnails for the pictures, but also full size copies. So the pictures seemed to be nicely packed in one file, but with a size overhead of about 100%, and the owner was completely unaware of this until we pointed out to him that the file he offered contained about 100 MiB of useless data. In the mentioned cases no sensitive information was present, but it’s quite usual to have a lot of private stuff in the metadata. Not always as obvious as with a __MACOSX showing up when unzip’ing a file, but for example .doc files and to a lesser extent .pdf may contain a lot of information that’s nobody else’s business (editing time, full usernames, undo information (and yes that may also contain stuff you “deleted”)). So please people, keep your metadata to yourself! […]

  81. wayne Says:

    My apologies to Unix/Windows users. I’ve confirmed arj’s report and fixed the archive. The problem comes from using OS X’s built-in archive contextual menu. It doesn’t strip out mac resource forks as one might hope it would.

  82. Flee the Cube»Blog Archive » Google AdSense is up and running Says:

    […] Now for a few specifics on installing Google AdSense into Wordpress. Your first prerequisite is that you must have your own website, preferably something with a decent amount of content on it. Then, signing up for AdSense is a cinch, but you will have to wait a couple of days during the approval period - Google actually takes a quick look at your site to make sure everything is in order. The next step is to download and install the AdSense Deluxe Plugin from Acme Technologies. This is as simple as dropping the main file into your wp-plugins directory and then activating it in Wordpress admin panel. The plugin gives you more flexibility regarding where you put your ads. You can add them right to a post using an HTML comment, or more generally to a template file using PHP. All this is explained pretty well in their README file. Finally, you log into AdSense, create an ad block that matches your site look and feel, and copy the resulting HTML block into the AdSense Deluxe plugin. Now you’re ready to drop that ad block into any spot on your website using a simple comment or a line of code in your template. Erik has a good explanation of how you can get your content to wrap around Google AdSense using a div tag. • • • […]

  83. Ashbaugh Online » AdSense-Deluxe WordPress Plugin Says:

    […] To download or learn more visit their site. Technorati Tags: Adsense, Adsense Deluxe, Advertising, Google, Google Adsense, Word Press, Yahoo Publisher Network, YPN […]

  84. dasman’s World » Blog Archive » Wordpress 2.0 plus….. Ads :( Says:

    […] I’ve had ads on my company web site for some time now, to support those resources I make available for free, so I was already a member of the AdSense program. I thought I’d trial ads on the blog as a bit of an experiment. I’m using the Adsense Deluxe plugin, which seems really nice so far - this post will be the first real test of it. It seems to be under active development - last update was only a week ago. […]

  85. Visual Grammar » Adsense Says:

    […] Now thanks to Adsense Deluxe my job is made even easier and i cannot feel that i should write about this to give potential Adsense users a chance at grasping the concept of having a plugin that does the work for you, rather than going over the countless php codes which might not be every bloggers cup of tea. […]

  86. Lea Horstemke Says:


    AdSense-Deluxe WordPre…

  87. dahema Says:

    This is the one i am looking for ages. thanks for all the hard work, I will be doing donation to support your works.

  88. rshupe Says:

    Great Plugin I have some modifications for you that will allow this to work with the new Widgets Plugin.
    Add the following lines to the plugin and vola you can then add a Adsense block to your sidebar.

    function adsense_deluxe_widget($args) {

    $options = get_option('widget_adsense_deluxe');
    $title = $options['title'];
    $name = empty($options['name']) ? 'sidebar' : $options['name'];

    echo $before_widget;
    echo $before_title. $title . $after_title;
    $options = get_option(ADSDEL_OPTIONS_ID);

    if (($options['ads'][$name]['enabled']==1) && $options['all_enabled']) {
    echo '';
    echo '';
    echo $after_widget;
    function adsense_deluxe_widget_control() {
    $options = $newoptions = get_option('widget_adsense_deluxe');
    if ( $_POST['adsense_deluxe-submit'] ) {
    $newoptions['title'] = strip_tags(stripslashes($_POST['adsense_deluxe-title']));
    $newoptions['name'] = strip_tags(stripslashes($_POST['adsense_deluxe-name']));
    if ( $options != $newoptions ) {
    $options = $newoptions;
    update_option('widget_adsense_deluxe', $options);

    $title = wp_specialchars($options['title']);
    $name = empty($options['name']) ? 'sidebar' : $options['name'];
    " />
    " />

  89. richards1052 Says:

    Is there some way to notify users when you update the plugin? I’ve been using v. 0.5 & didn’t even notice there was a v 0.7 until I visited your site merely by coincidence. Otherwise, I’d never have known of the update.

    I believe Dr. Dave of SK2 has created some notification system which lets you know of an update within your own blog admin interface. That’s something like what I’d like to see or alternatively an e mail notice of update.

  90. majordude Says:

    How do I get the text to flow AROUND the blocks like you did right at the top next to the title? I have a block and then white space next to it.

  91. majordude Says:

    One more question, where (what file) does this plugin keep the stored adsense codes (the ones I have defined). That way, I can download that file and upload it to other installs without having to re-enter everything.

  92. wayne Says:

    re: Majordude’s two questions:

    1) You have to use CSS (stylesheets). I sometimes use a <div> formatting with inline style to set the display as “block” and float to “right” or “left” as appropriate.

    2) The adsense options are all kept in WordPress’s database tables. I have in the past when replicating a blog configuration for additional blog sites, set up my first WP blog with all the various options configured, then I duplicate the files and database tables for the next site and everything is already set (though you’ll have to manually change in the database options table the URL of the site — among other things, or you’ll probably not be able to get to wp-admin).

  93. majordude Says:

    Wayne, I looked at your code and added a etc. to the Adsense code. Funny thing is, if I use the basic editor it works, if I use the advanced editor it burps. Needless to say, I am using the basic editor.

Leave a Reply

You must be logged in to post a comment.