Thanks to a lot of very positive feedback and very interesting suggestions, I've updated the uberawesome Who Sees Ads plugin with even more uberawesome features and improvements.
New Display Rules
Who Sees Ads lets you decide under which circumstances a visitor will see an ad (or anything like a greeting, text, a "Subscribe to my feed" banner, etc). As of version 1.2, the conditions that can trigger content to display or not are:
- If Visitor comes from a search engine, display / don't display
- If Visitor is a regular reader, display / don't display
- If Post is older than XX days, display / don't display
- If Visitor is logged in, display / don't display
- If Date is between specified date interval, display / don't display
- If Ad has been viewed less than XX times, display / don't display
- If All previous conditions fail, try another context
- If Any condition, display / don't display
- If some PHP code, display / don't display
I've also gathered a few example display rules to help you create simple, complex or totally crazy rules.
Download Who Sees Ads now!
Initial release. Won 4th spot at WordPress Plugin Competition 2007 \o/
fixed: small glitch with PHP < 5.x preventing a cookie to be set (thanks Andrew Flusche) 1.2
improved: overall security against utterly improbable XSS attempt
added: 'Logged in users' as a context condition
added: 'Between 2 dates' as a context condition
added: 'Number of views' as a context condition
added: 'Fall back to another context' as a context condition
Want to share or tweet this post? Please use this short URL: http://ozh.in/fo