Now I know you’ve read about this and it’s usually a good idea: concentrate most of your ads on your older posts and hide ads from your regular visitors. I mean, they come here everyday, reward them with a little bit of clean content.
But also, if you’re like me, you’re lazy and haven’t gotten around to coding this yet. Well here you go, a Wordpress plugin that I’ve stumbled upon: Who See’s Ads?.
First of all, you can display anything in these blocks: HTML, JavaScript, even PHP. The ad blocks are controlled by certain contexts. It’s a lil’ bit like coding if you think about it. You still a bunch of if statements together to determine whether or not your content is displayed. These include:
- Regular visitors - Which you can define by those who’ve viewed your content a certain number of times within a certain period (eg. twice in 10 days).
- Coming from search engine - Self explanatory I hope.
- Posts older than a defined number of days
- Logged in visitors
- Between a particular date period
- If the ad was viewed a certain number of times - You could set and expiration duration
- And even custom PHP conditions - Here you can stick in Wordpress functions such as in_category();
You can insert these contexts into your template with PHP calls or into your posts, with comments.
With Who Sees Ads? you can completely revamp your ad structure. I’ve even begun to experiment with it on here. There’s just one slight problem with WP-Cache, but you can’t have caching with dynamic content, can you?
Popularity: 11%
If you're new here, you may want to subscribe to my Full RSS feed. Thanks for visiting!

Actually you can use it with WP-Cache: you just need to make good use of WP-Cache skip tags (something like <!–mmcache(function)–> or whatever the syntax is)
Ozh, on September 20th, 2007 at 11:30 am
Good news: Didn’t know that
Bad news: it doesn’t really work. The page just went blank.
Oh well, I think I’ll just disable WP-Cache or drastically reduce the time period to something like 2 minutes instead of one hour like I have it now.
Baz L, on September 21st, 2007 at 7:26 am
I’m not a WP-Cache user myself, but I have a reader who reported succes in using both plugins.
The tedious thing is that, because of the output buffering in WP-Cache, when something goes wrong you don’t have any sensible message — just a blank page. Doesn’t make troubleshooting easier.
Ozh, on September 21st, 2007 at 7:39 am
ThanX anyways for the help, but I couldn’t get it to work. I’ve given up though (lol, I do that a lot).
Baz L, on September 23rd, 2007 at 1:20 pm
Leave a Reply (I Follow)
Most Popular Posts
Popular Commentors
Featured Sites
Tips and Tricks to Save Money
Tags
Add new tag Ajax apache auth backup bake bakery Blog browser CakePHP calendar cookie cron database date domain Fast CGI firefox form free ie internet explorer JavaScript Linux MySQL PHP ruby on rails School time tutorial wamp wordpressCopyright © Web Development 2.0. All rights reserved. Monitored by Uptime Dog