Remove ads from individual page?

Posted in: Newspaper
Post count: 57

Hi! How to block ADS on idividual pages as I got warning from google. Even when I delete the contect there’s still warning cause of header banner I guess?

Post count: 23312

Hello Colleric,

You should use a bit of CSS code to hide the Ads for a specific page using the specific page ID or you can use the is_page() function in WordPress -> https://developer.wordpress.org/reference/functions/is_page/ to check if it is the page when you have targetted and then block the ads you want. For this, you should edit the Ads core files from theme’s folder and create some checks in order to achieve as you wish. Notice that is not a simple task and if you are not aware of the steps which are needed to take in this case, please consider hiring a freelancer/developer to help you because we cannot provide custom work at the moment, sorry! We only can point you in the right direction.

Thanks for your understanding!

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