How do I prevent headers ads from appearing in Mobile?

Posted in: Newspaper
Post count: 135

Hello,

I am using the mobile theme and would not like to have ads i.e. adsense appear in pages such as privacy policy or my TOS. How do I do this?

THank you.

Post count: 53

It is ok to have ads in privacy policy page, Im an adsense publisher for 5 years

Post count: 7909

Hi,

You could block the header ad on specific page using is_page function – https://developer.wordpress.org/reference/functions/is_page/http://screencast.com/t/Y0J0ipoMnRk0
As reference – https://forum.tagdiv.com/topic/hiding-header-ad/

Thanks!

Post count: 135

THank you and Happy Holiday!!!

Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic.