Don’t count inside paragraph with class
-
Hi,
I’m trying to prevent counting inside a paragraph (p) with a certain class, but I can’t figure out how to get it working.
I have these paragraphs multiple times in my article:
<p class=”img-wrap”></p>
<p class=”img-wrap textblock-bottom”></p>I want to prevent counting the paragraphs with the “textblock-bottom” class. What I setup is “Do not count” inside “p” elements that “contain” “textblock-bottom”. But it doesn’t work and the ad block is still showing even if the condition is met. If instead I select “Count only” inside “p” elements that “Do not contain” “textblock-bottom”, which should have the same effect, then no ad block shows at all. Removing the rule makes the ad block appear again.
Any assistance would be appreciated,
Thank you.
The topic ‘Don’t count inside paragraph with class’ is closed to new replies.