A simple plugin that generates AMP pages based on current template.
| Author: | Mustafa Uysal (profile at wordpress.org) |
| WordPress version required: | 3.7 |
| WordPress version tested: | 4.6.21 |
| Plugin version: | 0.1.1 |
| Added to WordPress repository: | 23-10-2016 |
| Last updated: | 25-10-2016
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
| Rating, %: | 0 |
| Rated by: | 0 |
| Plugin URI: | https://github.com/mustafauysal/simple-amp |
| Total downloads: | 1 523 |
| Active installs: | 10+ |
![]() Click to start download |
|
A ridiculously simple yet powerful plugin that automatically generates AMP pages based on current template.
Features
- It is extremely simple, no configuration needed.
- Works for all pages which uses WordPress template.
Advanced Usage & Filters
- If you need conditional check, use
Simple_AMP_Helper::is_amp_endpoint() - Default endpoint is
ampbut you can change it viasimple_amp_query_varfilter - You can modify HTML output by using
simple_amp_html_outputfilter - You can modify AMP output by using
simple_amp_outputfilter - You can use custom template file by using
simple_amp_templatefilter - Use
simple_amp_debugfilter for validation issues and fixes
PHP requirement: This plugin only works with PHP 5.6 and above
Credits
- AMP plugin for inspiration
- amp-library for converting HTML to AMP
Contributing
Pull requests are welcome on Github
FAQ
ChangeLog
