plugin-wonderful/readme.txt

56 lines
3.2 KiB
Plaintext
Raw Normal View History

2009-02-11 23:24:42 +00:00
=== Plugin Wonderful ===
Contributors: johncoswell
Tags: ads, sidebar, widget
Requires at least: 2.7
2009-02-13 01:07:23 +00:00
Tested up to: 2.7.1
2009-03-25 11:08:14 +00:00
Stable tag: 0.4.4
2009-02-13 01:45:03 +00:00
Donate link: http://www.coswellproductions.com/wordpress/wordpress-plugins/
2009-02-11 23:24:42 +00:00
Plugin Wonderful lets Project Wonderful publishers quickly and easily add their adboxes to thier WordPress site.
2009-02-11 23:24:42 +00:00
== Description ==
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.
== Installation ==
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.
2009-02-11 23:24:42 +00:00
== Frequently Asked Questions ==
= Where do I get my member number? =
2009-02-13 01:07:23 +00:00
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.
2009-02-13 01:45:03 +00:00
= 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')`
2009-03-25 11:08:14 +00:00
= 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\)`
2009-02-13 01:45:03 +00:00
= 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'); } ?>`