AMP

Descripción

The AMP Project is an open-source initiative aiming to make the web better for all. AMP enables web experiences that are consistently fast, beautiful and high-performing across distribution platforms. The Official AMP Plugin for WordPress supports fully integrated AMP publishing for WordPress sites, with robust capabilities and granular publisher controls.

Features and capabilities provided by the plugin include:

  • Compatibility Tool: to assist the development of AMP experiences by enabling AMP debugging with detailed information about validation errors that may exist, the markup/scripts causing them, and the specific components on site (e.g theme, plugin, core) responsible for that page content.
  • CSS Tree Shaking: to assist in dealing with cases where the defined CSS rules on a site exceed the CSS size limit allowed on single AMP pages.
  • Core Theme Support: enabling full AMP validity for four default themes (i.e. Twenty Fifteen, Twenty Sixteen, Twenty Seventeen, Twenty Nineteen).
  • Gutenberg Support: enabling AMP content creation fully integrated with Gutenberg.
  • AMP-first Experiences support: enabling full-site AMP experiences without sacrificing the flexibility of the platform, or the fidelity of content.
  • Many Optimizations: A myriad of code, performance, and developer experience improvements: from customization flexibility, to better UI flows, internationalization, accessibility, etc.

The plugin can be configured to follow one of three different template modes: Native, Transitional, and Reader. When configured to operate in Reader and Transitional modes, a given post/page will have a canonical URL as well as a corresponding (paired) AMP URL. The AMP plugin is not serving as a mobile theme; it does not redirect mobile devices to the AMP version. Instead, the AMP version is served to mobile visitors when they find the content on platforms such as Twitter, Pinterest, Google Search, and others.

With the official AMP plugin for WordPress, the WordPress ecosystem is provided with the capabilities and tools it needs to build world-class AMP experiences without deviating from its standard, flexible, and well-known content creation workflow.

Getting Started

To learn more about the plugin and start leveraging its capabilities to power your AMP content creation workflow check the official AMP plugin product site.

If you are a developer, we encourage you to follow along or contribute to the development of this plugin on GitHub.

Capturas

  • Theme support enables you to reuse the active theme's templates and stylesheets; all WordPress features (menus, widgets, comments) are available in AMP.
  • Many themes can be served as AMP without any changes; the default experience is as if JavaScript is turned off in the browser since scripts are removed.
  • Reader mode templates are still available, but they are are limited. Not only do they differ from the active theme, any validation errors are silently sanitized.
  • Switch from Reader mode to Transitional or Native mode in AMP settings screen. You may need to disable the admin bar in AMP if your theme has a larger amount of CSS.
  • Make the entire site available in AMP or pick specific post types and templates; you can also opt-out on per-post basis.
  • Plugin checks for AMP validity and will indicate when either: no issues are found, new issues need moderation, or issues block AMP from being served.
  • The editor will surface validation issues during content authoring. The specific blocks with validation errors are indicated.
  • Validated URLs include the list of validation errors encountered, giving control over whether sanitization for a validation error is accepted or rejected.
  • Styles added by themes and plugins are automatically concatenated, minified, and tree-shaken to try to keep the total under 50KB of inline CSS.
  • A WP-CLI command is provided to check the URLs on a site for AMP validity. Results are available in the admin for inspection.

Instalación

  1. Sube la carpeta al directorio /wp-content/plugins/
  2. Activa el plugin desde el menú ‘Plugins’ de WordPress
  3. If you currently use older versions of the plugin in Reader mode, it is strongly encouraged to migrate to Transitional or Native mode. Depending on your theme/plugins, some development work may be required.

Reseñas

Amazing plugin

I especially love the Native AMP/Canonical AMP/AMP-first, which is not for everyone, every function or every theme. Adding an Extended AMP component on a page - and needed scripts are automatically loaded. Sheds off a lot of unneeded CSS. Speeds up a site considerably if using an AMP compatible theme. The TwentyNineteen and older are compatible. I suspect a lot more will turn up.

Nothing except converting to AMP.

The perfect solution for single-page sites. Other than that, unfortunately, the functionality is too low. - There is no option to add a menu in classic template. - Links on pages such as category links leads to the original site, not to AMP version. - No search button in classic template. - Native and Paired options aren't working properly for popular WordPress.org themes. But I have to keep using this plugin. Even though it is very difficult to keep users on site, there are currently no alternatives because other AMP plugins break the images of my sites. I hope the shortcomings are completed and the plugin is made more powerful.

Frequent chron jobs took shared hosting account down

We hoped this would help our shared hosting account's performance. Instead, it appears that frequent chron jobs running on the account took all our sites down, frequently (e.g., 918 times per 24 hours). Removing the plugin from out sites and the account shed over 90% of those faults.

1 star because 0 is not possible.

My 100 euros smartphone is happy with normal version of my site. Amp transforms it in a useless and obsolee one: no tables, no graphs, no forms, NO PAGES! Google has a foreclosing vision of the web. For me a total waste of time.
Leer todas las 165 reseñas

Colaboradores y desarrolladores

“AMP” es un software de código abierto. Las siguientes personas han colaborado con este plugin.

Colaboradores

“AMP” ha sido traducido a 17 idiomas. Gracias a los traductores por sus contribuciones.

Traduce “AMP” a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN , o suscríbete al log de desarrollo por RSS .

Registro de cambios

For the plugin’s changelog, please see the Releases page on GitHub.