• Resolved bprithvi

    (@bprithvi)


    Hi,

    After implementing a plugin for ‘Table of Contents’, I am noticing that the ad after the first paragraph in a post is not displaying. Other ads are showing okay. Could you please help get around this problem. I have switched on remote debugging.

    Thank you,

    Raj

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

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

    (@spacetime)

    That plugin adds a paragraph which then becomes the first paragraph in the post:

    <div class="ez-toc-title-container">
    <p class="ez-toc-title">Table of Contents</p>
    <div class="code-block code-block-1" style="margin: 8px 0; clear: both;">
    AD CODE
    </div>
    <span class="ez-toc-title-toggle">
    <a class="ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle">
    <i class="ez-toc-glyphicon ez-toc-icon-toggle"></i></a></span>
    </div>

    Consequently Ad Inserter inserts block 1 after that paragraph.

    Since this paragraph is in a div I suggest to configure Ad Inserter to not count paragraphs inside div elements.
    Add div to the list No paragraph counting inside:
    https://adinserter.pro/documentation/plugin-settings#general

    Thread Starter bprithvi

    (@bprithvi)

    Thank you. Much appreciated.

    Raj

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘The first ad not displaying’ is closed to new replies.