• Resolved Anuj

    (@anujmakhloga)


    Hi,

    I am getting amp validation error with the theme, along with several other plugins. I reached to plugin support and they asked me to changed amp supported plugin and same goes for the theme.

    Isn’t it compatible with amp? I guess it is fully compatible but still getting errors, though. Could be my fault, don’t know.

    Have a look –

    Screenshotupperpart1
    Screenshotremainigpart
    wp-include

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

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hi there,

    do you have the GP Amp plugin installed?

    https://docs.generatepress.com/article/amp-compatibility/

    As that will disable the themes JS files

    Thread Starter Anuj

    (@anujmakhloga)

    Yes, I have installed the mentioned plugin since when I activated this official AMP plugin.

    Theme Author Tom

    (@edge22)

    Hi there,

    Can you download the plugin that David mentioned again and install it over your current version? We updated it when GP 3.1.0 came out to fix this issue.

    Let us know ??

    Thread Starter Anuj

    (@anujmakhloga)

    Thank you.

    The issue is solved now with generatepress. But, there are some “wp-includes” invalid scripts. I don’t know where to go for those scripts.

    img1

    img2

    Also, do I have to always uninstall and reinstall this plugin after every update?

    Theme Author Tom

    (@edge22)

    As a guess, I’d say you have javascript inside your widgets (<aside> elements).

    No, you don’t have to do it after every update, but we will update it every once in a while, so until we add it to the plugin repo you will have to manually update it if we make changes. If you run into theme-related AMP issues, feel free to let us know and we can update the plugin (or let you know that it’s already been updated).

    Thanks!

    Thread Starter Anuj

    (@anujmakhloga)

    Thanks.

    There’s an ad (html from adsense, no plugin) placed via widgets. And it’s only for the non-amp version, why am I getting this error for amp and how to resolve it?

    I would suggest asking the AMP Plugin support – if the Sidebar contains no AMP advert script then it should not be getting flagged.

    Thread Starter Anuj

    (@anujmakhloga)

    Thank you…created a topic for the same.

    You’re welcome

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘AMP Validation error with Generatepress theme’ is closed to new replies.