Repository

https://github.com/ampirecity/AMPWPBasics1

What Will I Learn?

Setting up AMP plugin for Wordpress;

Setting up files for a custom AMP Wordpress theme.

Requirements:

• A fresh WordPress version on your preferred server;

• AMP for Wordpress plugin;

• Basic CSS & HTML knowledge;

• Basic PHP knowledge.

Difficulty:

Easy

Useful links:

Fresh Wordpress version: https://wordpress.org/download/

AMP Plugin: https://wordpress.org/plugins/amp/

Setting up AMP for Wordpress plugin

Wordpress and the team behind the AMP plugin for the platform are constantly working to improve things. If you are using one of the official themes you can just stop reading here, with AMP plugin 0.7+ the pages will be converted into AMP automatically.

However, while it could work for personal projects or small businesses, more advances websites might want to use AMP to its fullest. While the high-end project doesn’t require AMP plugin at all, for most cases it is better to start with it onboard. The default settings I use are set to Template Mode: Native with tree shaking and all templates queried checked.