AMP Customizer

Description

This plugin can be used to customize the output of the Google AMP plugin by Automattic (https://wordpress.org/plugins/amp/).
When using this plugin you have several possibilities to customize the output, which you will find at the AMP Customizer settings page.

This plugin also provides the possibility to exclude posts from AMP.

Based on the WordPress Boilerplate that can be found on http://wppb.io/.

  • Plugin website: http://autovisie.nl/devblog/amp-customizer/
  • Want to know more about our tools, check out our website at: http://autovisie.nl/devblog/

Why we built it

We wanted to use the Google AMP plugin, however we wanted to change the default output so we could give it the Autovisie look and feel.
To do this, we created this plugin and want to share this with the WordPress community.

Screenshots

  • Menu
  • Settings
  • Post editing

Installation

Activate the plugin and set the correct settings (settings -> AMP Customizer).
Then you will see an couple of things you can change.

  1. Upload ‘amp-customizer’ to the ‘/wp-content/plugins/’ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Set the correct settings (settings -> AMP Customizer)

========
Settings
========

Add Featured Image

When this setting is set, the plugin will add the featured image to the content. It will be displayed above the content.

Select a Logo

When selecting a logo from the media library, it will be displayed in the header of the AMP page.
If this is not set, the plugin will display the normal AMP page with the site title.

Header Background

You can select a color to use for the header (which contains the logo, if this is set).

Title Text Color

This color will be used for the title of the AMP page.

Content Text Color

With this color setting, you can set the color for the main text in the AMP page.

Content Width (without px)

Here you can set the content with of the AMP page. You can only use pixel sizes here.
Add the value without the “px” behind the value.

Hide a post

When editing a post, and having this plugin active you will see a extra metabox setting for “Hide in Google AMP”.
If you set this to “Yes”, the canonical link to the AMP page will be removed from the original page source.
When visiting the page like this: http://www.yoursite.com/category/post/amp/ it will redirect you to the original permalink of the post: http://www.yoursite.com/category/post/

FAQ

Does this plugin have any requirements?

Yes, it depends on the Google AMP plugin by Automattic (https://wordpress.org/plugins/amp/)

Reviews

Easy as pie

Works like a charm. It’s easy to understand and change the settings, and it has added options that the default Advanced Mobile Pages plugin does not have.

If it had Adwords included it would be perfect.

Handy!

Cool plugin and adds functionality missing in the standard AMP plugin. Thank you!

super plugin

Wij gebruiken het inmiddels voor meer dan tien websites en gaan het voor alle websites installeren. Geweldig. Eenvoudig installeren, snel en door iedereen instelbaar, zelfs zonder moeilijkheden of speciale kennis van WordPress. Dank voor deze geweldige plugin.

Read all 4 reviews

Contributors & Developers

“AMP Customizer” is open source software. The following people have contributed to this plugin.

Contributors

Translate “AMP Customizer” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.0.1

  • Fix to prevent a foreach loop when no settings are set.

1.0.0

  • Our first release!