Repolode
ampproject

ampproject/amp-wp

Official WordPress plugin that adds AMP versions of your site's pages, with validation tools to fix AMP compatibility issues.

Stars
1,809
Forks
377
Open issues
68
Last commit
3 days ago

What is it?

AMP Plugin for WordPress turns a WordPress site into one that serves Accelerated Mobile Pages (AMP) alongside or instead of its regular pages. It is designed to fit into the normal WordPress publishing workflow and works with existing themes and plugins, with the goal of helping sites meet Google's Page Experience and Core Web Vitals signals.

The plugin offers three template modes: Standard, where the site is served only as AMP; Transitional, which uses one theme to serve both AMP and non-AMP versions; and Reader, which uses separate themes for each. An onboarding wizard suggests a mode based on the active theme and plugins, and a portion of the site can be served as AMP rather than all of it.

For developers, it includes validation tools that identify, contextualize, and help resolve AMP validation errors, along with support for building AMP-compatible plugins and themes. It also handles mobile redirection and AMP-to-AMP linking.

Key features

  • 01Generates AMP-valid markup while following standard WordPress workflows.
  • 02Offers Standard, Transitional, and Reader template modes.
  • 03Provides validation tools to identify and resolve AMP errors.
  • 04Handles mobile redirection and AMP-to-AMP linking.
  • 05Includes an onboarding wizard and a preview across desktop and mobile.
  • 06Allows customizing AMP page design in the WordPress Customizer.

Use cases

  • Publishing news or blog content with fast-loading AMP pages on WordPress.
  • Improving Page Experience scores on an existing WordPress site without rebuilding its theme.
  • Diagnosing and fixing AMP validation errors for a WordPress theme or plugin under development.

Quick start

  1. 1

    Upload the plugin folder to the /wp-content/plugins/ directory

  2. 2

    Activate the plugin through the Plugins menu in WordPress

  3. 3

    Go to AMP > Settings and use the onboarding wizard to configure it

Things to know

  • Requires a WordPress site; it is not a standalone tool.
  • Some themes and plugins are not AMP-compatible, so validation fixes may be needed.

In collections

Topics

FAQ

What is amp-wp?
Official WordPress plugin that adds AMP versions of your site's pages, with validation tools to fix AMP compatibility issues. AMP Plugin for WordPress turns a WordPress site into one that serves Accelerated Mobile Pages (AMP) alongside or instead of its regular pages. It is designed to fit into the normal WordPress publishing workflow and works with existing themes and plugins, with the goal of helping sites meet Google's Page Experience and Core Web Vitals signals.
Is amp-wp free to use? What license does it have?
amp-wp is open source under the GPL-2.0 license. Check the license terms before using it in commercial products.
Is amp-wp still maintained?
Actively maintained. The last commit to amp-wp was on Nov 4, 2026.
What can I use amp-wp for?
Publishing news or blog content with fast-loading AMP pages on WordPress. Improving Page Experience scores on an existing WordPress site without rebuilding its theme. Diagnosing and fixing AMP validation errors for a WordPress theme or plugin under development.
How do I install amp-wp?
Upload the plugin folder to the /wp-content/plugins/ directory Activate the plugin through the Plugins menu in WordPress Go to AMP > Settings and use the onboarding wizard to configure it
Where can I get amp-wp?
The source code and installation instructions are on GitHub: https://github.com/ampproject/amp-wp

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects