This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Plugin Wonderful


Plugin Wonderful is no longer actively maintained. If you wish to take over the project, contact John Bintz (

Plugin Wonderful downloads your adbox information from Project Wonderful and creates a series of widgets that can easily be added to your sidebars. It also adds a new template tag, the_project_wonderful_ad(), that lets you embed Project Wonderful ads directly into your site. Adbox code is downloaded straight from Project Wonderful, so your adboxes are always displayed correctly. You can also easily activate new ads without having to modify your theme.


Copy the plugin-wonderful folder to your wp-content/plugins folder and activate it from Plugins -> Installed. Activating the plugin creates a new database table, {prefix}_pw_adboxes, that you can safely remove if you are no longer using the plugin.

Note that if you’re upgrading from a pre-0.5 version, you’ll have to deactivate and reactivate the plugin. If you’re using the Widgets feature of the plugin, you’ll have to re-add your widgets to your sidebars again.


Why don’t my widgets work anymore?!

The widget API in 2.8 changed to something that is much easier to use when you want multiple widgets on a page. Using multiple widgets was broken in earlier versions of Plugin Wonderful, anyway. If you are using a pre-2.8 WordPress, you’ll be able to add a single widget to your sidebar. If you want more, you’ll need to use template tags.

Where do I get my member number?

Log in to your Project Wonderful account and view your profile by clicking on your profile picture on the right. Your member number is the first item listed in your profile.

How do Template Tag Identifiers work?

If you want to refer to an ad by an arbitrary name, rather than the adbox id, you can give the specific ad a tag, and then use that tag instead of the adbox id in the_project_wonderful_ad(). For example, tag an ad with the name “header” and you can refer to it in your theme with:

How do I inject an ad into a blog post?

In the body of your post, place a PW(adboxid|template tag) reference:

This is my post, and here's an ad: PW(header)

You can use either the adbox’s numeric ID or the template tag identifier for the ad. If you need to display the PW() tag on the page, escape the parenthesis:

Here's how you use Plugin Wonderful blog post tags: PW\(header\)
How robust is placing ads in the RSS feed?

Project Wonderful does support placing ads in the RSS feed. In this case, all of the JavaScript is stripped out, since many RSS feed readers don’t support JavaScript in the feed. The ads are placed above any excerpts in the feed. Some readers may not like the markup used. Until further testing is done, there are no good answers on how well PW ads delivered by Plugin Wonderful will perform.

Additonally, the ad that you use in your RSS feed will need to be accessible by Project Wonderful’s ad verification crawlers, so you’ll need to place the ad somewhere on your site before you can use it in your RSS feed.

How often is adbox information redownloaded?

Plugin Wonderful checks your Project Wonderful account every 12 hours for adbox changes. If there are any, it will apply the changes to your adboxes.

I am a theme author who wants to include pre-built hooks for Project Wonderful ads. How do I safely add those hooks?

Wrap the call to the_project_wonderful_ad() in a function_exists() call:

<?php if (function_exists('the_project_wonderful_ad')) { the_project_wonderful_ad('header'); } ?>
How do I run the unit tests?

You’ll need PHPUnit and MockPress.


There are no reviews for this plugin.

Contributors & Developers

“Plugin Wonderful” is open source software. The following people have contributed to this plugin.


Translate “Plugin Wonderful” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.