Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi, there appears to be another plugin (or your theme?) that is inserting blocks of code before each URL node in the loop:

    
    <div class='code-block code-block-1' style='margin: 8px 0; clear: both;'>
    <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
    <!-- Between Posts 14 -->
    <ins class="adsbygoogle"
         style="display:inline-block;width:728px;height:90px"
         data-ad-client="ca-pub-9825499947954986"
         data-ad-slot="5415440021"></ins>
    <script>
         (adsbygoogle = window.adsbygoogle || []).push({});
    </script></div>
    

    This is invalid code for XML so the stylesheet fails. An error will show in Google Search Console too, I suppose…

    It is repeating this same code block over and over again, including this <!-- Between Posts 14 --> comment. Do you recognize that from some plugin or theme modification?

    Thread Starter contelnews

    (@contelnews)

    Ahh, yes.

    By default “Ad Inserter” has XML included on what pages to insert the advertising code on.

    Thank you!

    Rich

    And thank you for reporting the incompatibility 🙂

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

The topic ‘Sitemaps are blank’ is closed to new replies.