AdSense-Deluxe WordPress Plugin
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 (http://philhord.com/wp-hacks/adsense) 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.
- Latest Version: 0.8 (released Jun 27, 2006 - Release Notes)
- Download URL: Download AdSense-Deluxe Plugin
- WordPress 2.0 Users: AdSense-Deluxe and WordPress 2.0 Support
Features:
- 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.
Usage:
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;
…</script></div>
[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.
Installation:
» 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!).
Limitations:
» 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
- 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
List of defined AdSense-Deluxe Ad Blocks
AdSense Preview Tool
AdSense-Deluxe QuickTag Menu
Sample Post from this Blog with Multiple AdSense ads
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.






July 28th, 2005 at 1:21 pm
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 R…
July 29th, 2005 at 12:51 am
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.
…
July 29th, 2005 at 12:53 am
[…] 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 […]
July 29th, 2005 at 2:09 am
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…
July 29th, 2005 at 2:18 am
[…] 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 […]
July 29th, 2005 at 4:47 am
[…] 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 […]
July 29th, 2005 at 10:57 am
[…]
AdSense Plugin For WordPress
Here’s a report on a very useful plugin for Wordpress, that allows you control over how you p […]
July 29th, 2005 at 1:33 pm
[…] WP Plugin: AdSense-Deluxe Categories - LinkyLoo Wordpress Plugins — Mark WP Plugin: AdSense-Deluxe: Do you monkey with AdSense on your Wordpress […]
July 29th, 2005 at 8:42 pm
[…] Easily test different ad formats and color styles across (all, or) a range of blog posts.(Source.) For download visit this […]
July 30th, 2005 at 4:47 am
Excellend plugin, I even checked the reward the author box.
July 30th, 2005 at 5:14 am
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: http://hobonation.com/ - See after the first two posts the ads disappaer from the end of the posts. Strange to me. Thanks
July 30th, 2005 at 8:23 am
[…] 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, […]
July 30th, 2005 at 10:41 am
[…] asily test different ad formats and color styles across (all, or) a range of blog posts. AdSense-Deluxe WordPress Plugin - [Acme Technologies Zeitgeist] […]
July 30th, 2005 at 1:01 pm
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.
(Va google.dirson.com.)
…
July 30th, 2005 at 2:03 pm
[…] o; Previous Post
AdSense WordPress Plugin
Here’s a really cool AdSense WordPress plugin. It makes it really easy to add AdS […]
July 30th, 2005 at 8:30 pm
[…] Productivity Tips For Avid Blog Readers Adsense WordPress Plugin Wordpress Adsense Plugin » AdSense-Deluxe WordPress Plugin Acme Technol […]
July 30th, 2005 at 8:39 pm
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
July 31st, 2005 at 12:22 pm
[…] WordPress Plugins. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a respons […]
July 31st, 2005 at 5:04 pm
[…] 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 […]
August 1st, 2005 at 1:10 am
Hi,
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?
August 1st, 2005 at 2:19 pm
Angela,
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).
August 1st, 2005 at 2:42 pm
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.
August 2nd, 2005 at 2:08 am
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.
August 2nd, 2005 at 2:17 am
[…] WordPress Plugin Weirdness
Posted by Jason under Journal
There’s a cool AdSense plugin that allows you to set up individual ads in spec […]
August 2nd, 2005 at 2:21 am
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?
August 2nd, 2005 at 9:14 am
axodys,
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.August 3rd, 2005 at 5:24 am
[…] 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 […]
August 3rd, 2005 at 10:18 am
[…] AdSense-Deluxe Plugin Adds support for Tiger-Admin WordPress plugin. […]
August 3rd, 2005 at 11:31 am
[…]
AdSense Strategies for WordPress Blogs
Richards1052 left this comment for me a few days ago in response to using AdSense ad […]
August 3rd, 2005 at 2:05 pm
[…] 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 […]
August 6th, 2005 at 5:15 pm
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
Ena…
August 8th, 2005 at 4:53 pm
[…] 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 […]
August 9th, 2005 at 1:33 pm
[…] 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 […]
August 11th, 2005 at 4:56 am
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.
August 12th, 2005 at 11:01 pm
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
Laotse
August 12th, 2005 at 11:35 pm
GREAT PLUGIN. I DELETE DEACTIVATE IT, AND UNINSTALL THE PLUGIN WHICH A DAMN ADD STILL ON THE PAGE. YES THE COOKIES ARE DELETED TOO.
August 15th, 2005 at 11:40 am
[…] got to say that its a pretty handy plugin. I totally recommend you check it out…. WordPress Plug >> Adsense Deluxe […]
August 16th, 2005 at 7:53 am
[…] 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 […]
August 16th, 2005 at 12:36 pm
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!
August 18th, 2005 at 11:22 am
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.
-wayne
August 19th, 2005 at 10:33 am
Thanks, the response is much appreciated, I’ll check that out.
August 22nd, 2005 at 12:00 pm
When i add the code to my posts, it simply shows an HTML comment in the source, please help?
August 23rd, 2005 at 2:15 pm
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….
-wayne
August 23rd, 2005 at 8:54 pm
[…] 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 […]
August 25th, 2005 at 2:17 pm
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…
August 25th, 2005 at 4:09 pm
[…] 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 […]
August 26th, 2005 at 10:12 pm
[…] that reveals a ‘plug in’ that is supposed to work on my WordPress software here at the www.acmetech.com/blog/ and here at the www.philhord.com/blog . Tomorro […]
September 3rd, 2005 at 11:23 pm
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?
September 6th, 2005 at 8:10 pm
[…] 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 […]
September 9th, 2005 at 12:47 pm
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
September 12th, 2005 at 1:31 pm
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.
-wayne
September 13th, 2005 at 11:31 pm
[…] 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 […]
September 16th, 2005 at 3:31 am
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.
September 16th, 2005 at 1:17 pm
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.
September 18th, 2005 at 12:45 am
[…] nse ad blocks (less typing) Testing alternate ad placements for higher click-thru rates Read more on AdSense-Deluxe WordPress Plugin Technorati Tags: google, […]
September 18th, 2005 at 10:32 am
[…] dSense-Deluxe WordPress Plugin Now THATS a nice wordpress plugin….
Acme Technologies Zeitgeist » AdSense-Deluxe WordPress Plugin Overview: […]
September 22nd, 2005 at 10:54 pm
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.
September 23rd, 2005 at 6:59 pm
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?
-wayne
October 3rd, 2005 at 8:42 pm
[…] isplayed at the top of your AdSense-Deluxe options page. You can get the latest update at AdSense for WordPress Plugin - AdSense-Delu […]
October 14th, 2005 at 9:52 pm
[…] If you want to add AdSense to your WordPress blog, go to this page and get the free plugin. […]
October 15th, 2005 at 6:49 am
[…] AdSense-Deluxe WordPress Plugin » Acme Technologies Zeitgeist […]
October 25th, 2005 at 11:13 am
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?
October 29th, 2005 at 11:55 am
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?
October 30th, 2005 at 2:07 am
[…] Sto provando Google Adsense e il plugin Adsense Deluxe per wordpress. […]
November 1st, 2005 at 8:23 am
[…] here’s what you would need ..Adsense-Deluxe WordPress Plugin by Acmetech.( Click the link where you can download the plugin from the creator.) […]
November 1st, 2005 at 8:41 am
[…] 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: […]
November 1st, 2005 at 7:13 pm
[…] I added a Google Adsense Wordpress plugin which makes it easier to integrate Google Adsense Ads into a wordpress post and at different sizes. […]
November 3rd, 2005 at 1:28 am
[…] Adsense Deluxe - Allows you to easity and *selectively* insert Adsense ads in your posts. […]
November 3rd, 2005 at 12:38 pm
[…] 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. […]
November 6th, 2005 at 10:14 am
[…] 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 […]
November 11th, 2005 at 10:15 am
[…] 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 […]
November 15th, 2005 at 12:55 am
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,
http://erikvossman.netfirms.com/nfblog/?p=15
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.
Thanks
November 17th, 2005 at 7:50 pm
[…] 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. […]
November 22nd, 2005 at 11:37 pm
[…] AdSense-Deluxe WordPress Plugin » Acme Technologies Zeitgeist Tags […]
November 28th, 2005 at 6:13 pm
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”;
}
November 28th, 2005 at 6:15 pm
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.
November 29th, 2005 at 12:01 am
[…] 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. […]
November 29th, 2005 at 7:17 pm
[…] I just recently came across this great WordPress plugin: Adsense Deluxe. […]
December 2nd, 2005 at 6:03 pm
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. http://www.nohandle.com
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.
December 12th, 2005 at 4:48 pm
[…] 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! […]
December 12th, 2005 at 5:46 pm
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.
January 11th, 2006 at 2:42 pm
[…] 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. • • • […]
January 13th, 2006 at 12:47 am
[…] To download or learn more visit their site. Technorati Tags: Adsense, Adsense Deluxe, Advertising, Google, Google Adsense, Word Press, Yahoo Publisher Network, YPN […]
January 16th, 2006 at 2:49 am
[…] 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. […]
February 25th, 2006 at 8:56 am
[…] 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. […]
March 4th, 2006 at 3:03 am
black-teens-gone-wild-com
AdSense-Deluxe WordPre…
March 17th, 2006 at 7:03 pm
This is the one i am looking for ages. thanks for all the hard work, I will be doing donation to support your works.
April 5th, 2006 at 5:01 pm
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) {
extract($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 '';
adsense_deluxe_ads($name);
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'];
?>
" />
" />
May 9th, 2006 at 11:42 pm
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.
May 15th, 2006 at 7:47 pm
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.
May 15th, 2006 at 10:08 pm
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.
May 15th, 2006 at 10:15 pm
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).
May 16th, 2006 at 12:24 am
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.