With Advanced Ads you can exclude ads from specific posts and pages. E.g., you can keep your ads away from appearing on your contact or privacy policy pages. The following tutorial explains both methods that just need a few clicks.

Use display conditions to block individual ads on specific pages

With the „Specific Pages“ display condition on the ad edit page you can enter the title or the ID of the site where this specific ad should or in our case shouldn’t appear. That’s all and you can check the results of your settings on your pages afterwards.

In the following example you can see a setting for an ad that appears on all pages except “Contact” and “Places of interest”.

Disable ads on specific pages

This method is recommended, if you want to exclude single ads from specific pages, e.g., if you use ads for internal services and you want to disable them on your landing pages.

Disable all ads in specific pages

If you want to disable all ads on specific posts or pages, it is easier not to exclude them one by one with individual display conditions. In this case, you should look out for the Ad Settings meta box which you can find on the bottom of the edit page of every post and page. You will find a checkbox there which allows you to disable all ads on this page.

If your are using Advanced Ads Pro, you will find a second option there to disable all ads inside the post content but not from the header, the footer or your sidebar.

disable ads on pages

This method is recommended, if you want to keep specific pages with less clicks or legal pages completely ad free.

Constant to hide ads

You can also hide all coming ads by setting the  ADVADS_ADS_DISABLED  constant in your theme or plugin like in the code below.

Once you set the constant, future loaded ads won’t be displayed.