I am working with a magazine client who sells adversiting offline in their magazine and now has a WordPress online magazine. Each of their stories is broken into different posts, and they are using the Wootheme Spectrum.
They want the ads in the magazine to correspond to the ads online. So if Story B has Ad Z, then online, Post B should have Ad Z in the sidebar. However, Story A and C might have differents ads.
What’s the best way to accomplish this?
- Custom plugin?
- Plugin?
- Adsense?
Thank you.
Hi @ewakened:
The simplest solution would be to have them upload the ads as photos using the media features in WordPress and then to have them add custom field called “Advertisement” with the URL to the ad copied from the media module, and a custom field called and “Ad URL” to link to the advertiser’s site. Then in the theme use the following to retrieve the add’s URL:
Beyond that is would be very possible to create a custom metabox plugin that would allow them to upload one of more ads directly into the post edit screen but that would require more programming.
I’d say best way depends on:
There are plenty off-the-shelf plugins to manage advertisement, I’d try first to compile list and evaluate those.
For self-developed solution I’d consider factors above to choose:
There is a plugin called custom sidebars that allows to determine what sidebar will be shown for each post
http://wordpress.org/extend/plugins/custom-sidebars/
Once installed you can create the sidebars with the ads you need and assign them to the posts.