This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Plugin Wonderful

Description

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

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.

FAQ

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:

the_project_wonderful_ad('header')
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.

Contributors & Developers

This is open source software. The following people have contributed to this plugin.

Contributors

Browse the code