• Resolved boredbat

    (@lh1999)


    Hello,

    The adinserter pro is counting the paragraphs inside the “Helpful Posts for Studying Abroad” Box. Under general settings, I’ve put div in the list of “not counting paragraphs” along with blockquote, li, etc, but it doesn’t work since the whole post is inside div.content. How do I go about doing this?

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Spacetime

    (@spacetime)

    Hello, this applies also to Ad Inserter so I’ll answer it here. Pro support normally goes here.

    I don’t see any block inside this div. Which block should I check?

    You can add some class to this div and then avoid insertion inside div with this class.

    Thread Starter boredbat

    (@lh1999)

    Oh I didn’t know that. It is block 10

    Plugin Author Spacetime

    (@spacetime)

    You can add some class to this div (for example, ai-avoid) and then configure block to avoid insertion inside div which contains ai-avoid:
    https://adinserter.pro/documentation/paragraph-settings#counting

    BTW You should merge blocks for before/after paragraph position into single block (for performance reasons, assuming you are inserting the same ad):
    https://adinserter.pro/documentation/paragraph-settings

    Thread Starter boredbat

    (@lh1999)

    “You can add some class to this div (for example, ai-avoid) and then configure block to avoid insertion inside div which contains ai-avoid:” Is there a way to do this for all blocks rather than doing this individually?

    BTW You should merge blocks for before/after paragraph position into single block:
    What do you mean by this?

    • This reply was modified 4 years, 7 months ago by boredbat.
    Plugin Author Spacetime

    (@spacetime)

    1. No, globally you can only avoid specific elements.

    2. Use one block and list comma separated paragraph numbers.

    Thread Starter boredbat

    (@lh1999)

    1. So, let’s say that I have par10 to not insert inside this div. Then will it insert after this div or not insert at all?
    2. I didn’t know you can do that. Thanks for the info

    Plugin Author Spacetime

    (@spacetime)

    When the block is set to not count paragraphs inside specified elements then it will not count those paragraphs and consequently it will not insert there.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Ads Inserting Inside the DIV (Not Counting Paragraphs Inside Certain DIV)’ is closed to new replies.