• Resolved azherahmed

    (@azherahmed)


    Does the plugin modify what it perceives as incorrect/invalid HTML?

    The reason I’m asking is because I’m trying to do two custom placements for a DIV tag (opening DIV after the second paragraph and a closing DIV at the end of the content) however they’re being opened/closed automatically as two empty DIVs.

    Some kind of filtering/manipulation happening however I’m unsure if it’s AdInserter or some other plugin that may be causing it. Thanks in advance.

    https://wordpress.org/plugins/ad-inserter/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter azherahmed

    (@azherahmed)

    To clarify, what I’d like to have happen is something similar to:

    <p>I'm the opening paragraph.</p>
    <p>I'm the second paragraph.</p>
    <div id="AdInserterPutMeHere"> <!-- 1st AdInserter Placement -->
    <p>More content.</p>
    <p>More content.</p>
    <p>More content.</p>
    </div> <!-- 2nd AdInserter placement -->

    Instead I’m seeing this:

    <p>I'm the opening paragraph.</p>
    <p>I'm the second paragraph.</p>
    <div id="AdInserterPutMeHere"></div> <!-- 1st AdInserter Placement -->
    <p>More content.</p>
    <p>More content.</p>
    <p>More content.</p>
    <div></div> <!-- 2nd AdInserter placement -->

    Plugin Author Spacetime

    (@spacetime)

    Ad Inserter does not modify the code in any way.
    What you save is what Ad Inserter inserts.
    The code is inserter “literally”.

    Plugin Author Spacetime

    (@spacetime)

    The only addition is a wrapping div (if selected).
    For widgets Ad Inserter also adds before_widget and after_widget code as defined by the theme.

    But the block code is not modified.

    Thread Starter azherahmed

    (@azherahmed)

    Got it. Thanks for the response. Will continue troubleshooting.

    Plugin Author Spacetime

    (@spacetime)

    Ok, thank you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘HTML Filtering?’ is closed to new replies.