WordPress Theme Hacks
Display Google Ad after the first post
A lot of people have asked me for this. How to display a Google ad after the first post? It is very simple. You just need to add a variable ($loopcounter) in The Loop. If the $loopcounter is less than or equal to 1, then include google-ad.php code.
15 Killer Hacks for WordPress that Are Extremely Useful
15. Display Ads after the First Post
Adding an ad after the post can get you really good money because advertisers really like that spot. It is one of the hot advertising spots. You can even place adsense there. But if you place as a normal code, an ad will be shown after each post which gets annoying for your users. Therefore using this hack, you can display ads after the first post.
Replace your current loop with this hacked version of the loop in your index.php
//Paste your ad code here
Now this code will show the ad after your second post. Make sure you insert your ad codes there.
via 15 Killer Hacks for WordPress that Are Extremely Useful.
No Doubt Marketing-Article Writing Service-Custom Content Creation-Article Writing Company
No Doubt Marketing-Article Writing Service-Custom Content Creation-Article Writing Company.
Get Access to Thousands of Private Label Rights Products & Master Resell Rights Products
Get Access to Thousands of Private Label Rights Products & Master Resell Rights Products.
Rotating Adsense and Yahoo ads
Rotating Adsense and Yahoo ads.
Why are you randomly loading adsense and Yahoo ads on different pages?
I (not the original poster) do it to fight ad blindness.
My setup serves U.S. visitors adsense/YPN 50-50, and non-U.S. visitors adsense 100% of the time (because YPN forbids foreign traffic). Since about half of my site visitors are non-U.S., this all implies that adsense ads are served roughly 75% of the time, and YPN ads roughly 25% of the time.
