The official AMP plugin for WordPress lately crossed the two.0 milestone, a significant launch that closed 141 issues and merged 174 pull requests. The discharge was initially deliberate for v1.6 however as a result of variety of main modifications the workforce determined to bump it to 2.0.
One of the crucial vital updates on this launch is the growth of the Reader Mode. The plugin has plenty of AMP-specific terminology related to it and except you’re working with it each day, it’s straightforward to get confused by the totally different modes. Commonplace Mode is an AMP-first website the place all URLs are offered as AMP pages. Transitional Mode makes use of one theme however canonical non-AMP URLs might provide a separate AMP model. Reader Mode makes use of two themes with the lively one for canonical non-AMP URLs and a separate “Reader” theme for AMP URLs.
Model 2.0 introduces a brand new AMP Customizer for customizing the Reader theme. It hundreds with a cellular view and doesn’t help widgets or homepage settings, as they aren’t relevant for the AMP model. The AMP Customizer makes it straightforward for website house owners to make tweaks and modifications that can solely apply to the AMP model of URLs.
The Reader Mode is particularly helpful for websites that aren’t utilizing AMP-compatible themes. Google engineer Weston Ruter described the expanded Reader Mode as follows:
Reader mode now permits for any AMP-compatible theme for use to serve AMP pages, moderately than simply the legacy submit templates. This enables for long-requested options together with nav menus, logos, commenting, and template design variations. It additionally makes it potential to serve all URLs of a Reader-mode website in AMP, versus simply singular posts.
One main usability replace in model 2.0 is the addition of an onboarding wizard and revamped Settings display screen that guides customers by way of the totally different templating modes when configuring the plugin. Customers who’re routed to Reader Mode will probably be offered with a collection of themes for serving AMP pages and the wizard will deal with set up. The ultimate step of the configuration course of permits customers to assessment their selections in a preview display screen.
Given the complexity of the AMP plugin and its many configuration choices, the onboarding wizard was a vital addition if the plugin goes to develop previous 500,000 lively installs to succeed in a bigger variety of non-technical customers.
One other notable replace on this launch features a function referred to as “Plugin Suppression” that enables directors to show sure plugins off for AMP pages if they’re inflicting validation errors. It additionally introduces cellular redirection for Transitional/Reader mode websites the place AMP is meant to be the cellular model.
AMP continues to be removed from a plug-and-play expertise for WordPress customers however the plugin does plenty of the heavy lifting and is evolving in direction of changing into extra approachable for non-technical customers. To that finish, the AMP plugin workforce simply introduced a brand new video collection that can concentrate on success with WordPress as a content material creator, in addition to efficiency and value.
“We’re crafting it with an viewers in thoughts that covers each technical and non-technical customers,” Google Developer Advocate Alberto Medina stated. “The two.0 model of the plugin makes an emphasis on offering choices for customers which might be non technical however nonetheless need to reap the benefits of AMP to deliver nice web page experiences to their customers.”
The collection will launch subsequent week on Google’s AMP YouTube channel. Medina can be engaged on one other collection geared in direction of content material creators that can cowl matters like Net Tales within the first episodes.