BACK TO DIRECTORY

AMP Post Script

by PStevenson

0.0
(0 ratings)

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

Plugin Details

Active Installs
10
Total Downloads
2,828
Version
1.7.5
Requires WP
5.0
Requires PHP
Tested Up To
5.9.16
Added
2016-11-04
Last Updated
2022-05-05 5:43pm GMT

Ratings

5
0
4
0
3
0
2
0
1
0