AMP and Wordpress

I’ve seen there are plugins, that’ll create /amp/ versions of your posts, but I’m wondering how/if they’ll validate if your theme uses javascript or html/css that isn’t allowed on amp pages. Does the plugin remove this info? Are you able to edit these amp pages once they are created if what has been generated doesn’t look the way you want.

Looking to get involved in creating a site that is AMP ready and hoping for some insight from those who are ahead of me.

Try Google’s Chrome and Ctrl-Shft-i to validate a page.

I am very interested in any plugins that manage to completely valid all pages.

It’s worth reading the AMP docs - https://www.ampproject.org/docs/get_started/about-amp.html

Creating AMP pages is very straightforward. Create a template to hold your AMP entry, add your structured content tags to the template to output your content, and add a canonical link to the “normal” page URL of your entry. Finally add a canonical link to the AMP version to your normal entry template.

For validation see the docs, it’s described in a lot of details, including how to correct validation errors.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.