WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My theme handles Adsense inclusion automatically for the end user. I'm looking to add a feature that allows them to rotate in CPA ads in place of the adsense ads (on a set frequency by percentage).

In other words, they can specify an image and url, then assign a weight to the CPA ad unit to determine how often it gets inserted in place of the adsense code.

Are there any examples or existing plugins that do this well?

share|improve this question

closed as off-topic by toscho Oct 2 '15 at 20:14

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.