• Resolved southpawer

    (@southpawer)


    Hi.

    I have AMP plugin installed to my wordpress website. I also added AMP validator Chrome extension and when I check my website’s AMP posts, the validator says “The tag ‘iframe’ may only appear as a descendant of tag ‘noscript’. Did you mean ‘amp-iframe’?” and when I debug it, this is the code that causes the issue <iframe class=”jetpack-notes-cookie-check” src=”https://widgets.wp.com/3rd-party-cookie-check/index.html”></iframe&gt;

    How do I get rid of this?

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Stef (a11n)

    (@erania-pinnera)

    Hello @southpawer,

    The iframe code you mentioned is added by Jetpack to handle cookie-related functionalities. To make your AMP pages valid, you can try disabling Jetpack features that insert iframes into pages, such as the “Likes” and “Related Posts” features.

    If that doesn’t resolve the issue, or if you need these features enabled, you can check if the AMP plugin’s compatibility tool can help you convert some Jetpack features to their AMP-compatible counterparts. You can find it in your WordPress admin, usually under AMP > Settings.

    I trust you have both AMP and Jetpack’s latest version of the plugins; otherwise, make sure they are to avoid compatibility issues.

    Hope that helps!

    Plugin Support Tamirat B. (a11n)

    (@tamirat22)

    Hi there!

    Do you have updates about the above? We usually close inactive threads after one week of no activity, but we want to make sure we’re all set before marking it as solved. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Jetpack causing error on AMP pages’ is closed to new replies.