跳到内容

AMP Post Script

v1.7.5

PStevenson · 2016年11月4日 上架

Modify the AMP plugin for WordPress

正在使用
10+
评分
暂无
累计下载
2,938
最近更新
2022年5月6日
需要 WordPress 5.0+已测试到 5.9.21

贡献者

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

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums