I really tired to put ads code using adsense deluxe plugin in my wordpress blog because one of the paid review don’t want me to put Adsense code after the post title.
Thanks to JohnTP for the post how to remove ads in certain category. So I can remove all of my ads at all of my posts which is in review category. And here is the php code:
<?php
if ( !in_category(17) && !in_category(19) && !in_category(10) && !in_category(26)) {
?>
Your ad code here
<?php } ?>
In the code 17, 19, 10 and 26 are the category ID which do you want to remove the ads. Now I can reduce my work with this code.
November 26, 2007

Sorry, no comments yet.