Disable Adsense on a specific post

Posted in: Newspaper
Post count: 44

Is there any possible way to disable all Adsense code on a specific post.

If so, how can this be accomplished?

Say for instance I have one specific page that doesn’t comply with Adsense tos and I wanted to remove all Adsense from that post.

Post count: 22421

Hello,
You can follow this topic to see how it can be done: https://forum.tagdiv.com/topic/disable-ads-in-specific-pages-post-or-categories/
Thank you!

Post count: 44

Bodgan,

thank you for your reply. However, I’m looking for something a little more specific. Google has pretty strict guidlines on what can be displayed on the page containing the ads.

For example, I write a post containing something that violates google’s terms, I would like to add functionality to the theme to EASY switch on and off ads for that specific post.

Is this possible?

John

Post count: 22421

Hello,
Our theme does not have such an option, that is why it needs to be hard-coded. You can try an alternative ad system like the adrotate plugin if you want to have options to show or hide ads on specific posts.
Thank you!

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