
Modify the AMP plugin for WordPress
| Author: | Peter Stevenson (profile at wordpress.org) |
| WordPress version required: | 5.0 |
| WordPress version tested: | 5.9.3 |
| Plugin version: | 1.7.5 |
| Added to WordPress repository: | 04-11-2016 |
| Last updated: | 05-05-2022
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://www.p-stevenson.com |
| Total downloads: | 2 616 |
| Active installs: | 10+ |
![]() Click to start download |
|
In short, this plugin make custom modifications to the AMP plugin.
- The AMP plugin settings can be customized here: /wp-admin/customize.php?customize_amp=1
- Add a custom menu to AMP… update it through (/wp-admin/nav-menus.php)
- Add related articles based on similar categories. Taxonomy can be changed using…. define(‘PS_AMP_RELATED_TAXONOMY’, ‘category’);
- Add Google Analytics to AMP view using…. define(‘PS_AMP_GA_ANALYTICS’, ‘UA-xxxxxxxx-x’);
- Override post type support using…. define(‘PS_AMP_ADDITIONAL_POST_TYPES’, ‘events,news,locations,wpseo_locations,tribe_events’);
- Disable Related Posts Using…. define(‘PS_AMP_DISABLE_RELATED_POSTS’, true);
- Use Site Icon for AMP metadata image if no image present
- Added required CSS for these additions
ChangeLog
