• Resolved designative

    (@designative)


    I keep getting all kinds of validation errors from the AMP plugin (https://www.ads-software.com/plugins/amp/) since I’ve installed stackable and tried using the blocks (check the example below). Any updates coming soon to address AMP compatibility?

    “Arbitrary JavaScript is not allowed in AMP. You cannot use JS <script> tags unless they are for loading AMP components (which the AMP plugin will add for you automatically). In order for a page to be served as AMP, the invalid JS code must be removed from the page. Learn more about how AMP works. As an alternative to using custom JS, please consider using a pre-built AMP functionality, including actions and events (as opposed to JS event handler attributes like onclick) and the amp-bind component; you may also add custom JS if encapsulated in the amp-script.

    If you remove the invalid markup then it will not block this page from being served as AMP. Note that you need to check what impact the removal of the invalid markup has on the page to see if the result is acceptable. If you keep the invalid markup, then the page will not be served as AMP.”

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

Viewing 1 replies (of 1 total)
  • Plugin Contributor gambitph

    (@gambitph)

    We’re still working on how we can integrate into AMP. But no release date yet. We’ll announce in our newsletter when the fix is already available ??

Viewing 1 replies (of 1 total)
  • The topic ‘AMP validation returning errors’ is closed to new replies.