Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Kingsley Felix

    (@iamkingsleyf)

    Here is a page with TOC block https://healthtian.com/lutheran-baptism/

    Plugin Author Marc Toensing

    (@marcdk)

    Your ad plugin most likely counts the html-tags and inserts itself there. I did not change the html output of SimpleTOC.

    The html output is correct and looks like a normal headline and unordered list in

    <p>your article paragraph</p>
    <h2 class="simpletoc-title">headline of simpletoc</h2>
    <ul class="simpletoc">
      <li>SimpleTOc headlines with links</li>
       <li>SimpleTOc headlines with links</li>
    </ul>
    <p>Next article paragraph</p>

    What happens if you add a custom class to the SimpleTOC Block? Maybe the ad plugin had an update or counts its position differently? As I said: The output of the plugin did not change on the frontend. I see that you use Google ads. Aren’t they placed automatically by google?

    • This reply was modified 3 years, 10 months ago by Marc Toensing.
    Thread Starter Kingsley Felix

    (@iamkingsleyf)

    I see that you use Google ads. Aren’t they placed automatically by google?

    I use manual placement, i don’t know which is better but auto places ads in weird areas, thus breaking layout.

    Your ad plugin most likely counts the html-tags and inserts itself there. I did not change the html output of SimpleTOC.

    Do you use a new tag that i can target? the plugin has option to blacklist tags like table, div

    Plugin Author Marc Toensing

    (@marcdk)

    No as I said: the output was and will always be very, very simple like the structure I posted above. You can look in your html with Chrome Dev Tools and that for yourself. Just an H2 and UL with LI tags as advertised. =)

    I removed a p-tag in the backend for Gutenberg that was a problem for some people and was wrong. But that was never rendered on the actual page in the frontend.

    Thread Starter Kingsley Felix

    (@iamkingsleyf)

    OK
    thanks

    Plugin Author Marc Toensing

    (@marcdk)

    So I think your problem is not related to SimpleTOC because… it is just so simple. ?? Come back any time if you have questions.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘issues with ad inserter’ is closed to new replies.