Hide Top Ad based on category

Posted in: Newspaper
Post count: 19

I would like to be able to hide the top ad based on category but I’m just not sure where to put the if statement. I looked in single and loop-single and the ad code wasn’t there.

Then I looked in td_block_ad.php and it was a little daunting.

Can someone point me in the right direction?

Thanks

Post count: 7909

Hi,

You will have to edit td_module_single_base.php file please check this topic as reference – https://forum.tagdiv.com/topic/replace-adsense-code-of-ads-fields-in-a-category/#post-54692

Thanks!

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.