Disable Adsense on specific categories

Posted in: Newspaper
Post count: 15

I run a multi niche blog and I would like to disable Google Adsense from showing on some of the categories on my blog.

How do I do is?

Post count: 20688

Hi,

That is not possible by a theme setting. The ads will display at all times once entered in the theme panel, there are no options to exclude category pages specifically.

The theme ad system is simple, enter ad codes and they will appear. Most users that require more advanced control over the ads use the Adrotate plugin. This would have the settings you are looking for
http://www.wpbeginner.com/plugins/how-to-manage-ads-in-wordpress-with-adrotate-plugin/
https://ajdg.solutions/manuals/adrotate-manuals/

Another way would be with cloud templates. With the Cloud library plugin you can design post templates and category templates. These can be built in any way you want
https://forum.tagdiv.com/tagdiv-cloud-library-plugin/

For example in a template for posts, the ads can be entered in the template directly (theme panel ads will not appear)
https://www.screencast.com/t/6pxiECJWukcO

So you can create a post template without entering ads there, the theme panel ads will not be displayed so the post will have no ads. The template can be applied to the posts you want.

Post count: 28

I copied the Adsense code to my header. Now I am seeing Google ads on my home page next to my custom ads. How do I remove the Google ads from my home page?

Post count: 28

Just want to clarify I applied the AdSense code with the “Insert Headers and Footers” plugin. However I need to control which pages contain AdSense ads versus paid customer ads.

Post count: 20688

Hi,


@vbrashier
What kind of ads are you using? Where is the ad code entered? The theme panel will display the ad at all times, according to where it is entered.

If and ad code is entered in the header ad spot, it will always be displayed there. The ad system is simple, it cannot be controlled by users, members, specific pages etc.
If that is required, consider using a more advanced ad plugin if possible.

Thanks

Post count: 28

We defined custom ads in Themes > Ads for paying advertisers and want to use AdSense only on pages with no paid ads. I was under the impression that we had to copy AdSense code to the individual ad spots in Theme > Ads to display the AdSense ads but this does not seem to be the case. We were a bit baffled when the Google ads showed up in places where we did not specify them in the layout.

Post count: 20688

The article ads will appear in all posts, when entered in the theme panel. In the page content use ad boxes where you want ads displayed.
In posts you could use cloud templates as I mentioned above, use templates with ads for some posts, templates with no ads for others.

Or try for example the Adrotate plugin, I believe that has more complex settings for ads, it will offer better control.

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