AMP Post Script
by PStevenson on WordPress.org
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
 
Active installations10+
Weekly downloads
10-9.09%
Version1.7.5
Last updated5/5/2022
WordPress version5.0
Tested up to5.9.10
Tags
ampcustomPost Script