Ads by category

Posted in: Newspaper
Post count: 72

Hello

I have a header, sidebar, inline and bottom of post ad blocks set up on my site.

I would like to ensure that the header/inline/bottom of post ads do NOT appear for a particular category and it’s sub categories.

This is the code I currently have. Do you know what I need to put in to ensure these do not show in a particular category and it’s sub categories please?

<div class=”td-visible-desktop”>

</div>
<div class=”td-visible-tablet-landscape”>

</div>
<div class=”td-visible-tablet-portrait”>

</div>
<div class=”td-visible-phone”>

</div>

Post count: 72

oops I mean code is like this screen snapshot

http://www.snowsbest.com/wp-content/uploads/2018/01/Screen-Shot-2018-01-17-at-8.15.11-PM-1.png

  • This reply was modified 8 years by snowsbest.
  • This reply was modified 8 years by snowsbest.
Post count: 23312

Hello snowbest,

Unfortunately, the theme does not have any such an option that allows you to do this. You should create some custom conditions if you want to have some restrictions on your ads. Notice that the Article inline ads are a general rule for the entire website and all the ads which are added in that ad spot will appear for all of your post contents.

Thanks for your understanding!

Post count: 72

When you say ‘custom conditions’ do you mean code or a plugin? And if I create some custom conditions, then it is possible?

Post count: 22421

Hello,

By custom conditions, Catalin meant custom code. The theme does not have such a functionality. Conditionals in code means an ‘if / else’ statement for example if you know your way around coding. If not, you can most likely find plugin that can provide the needed functionality.

Thank you!

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