Title: AMP Post Script
Author: PStevenson
Published: <strong>2016 年 11 月 4 日</strong>
Last modified: 2022 年 5 月 5 日

---

搜索插件

![](https://ps.w.org/amp-post-script/assets/banner-772x250.jpg?rev=1528173)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/amp-post-script/assets/icon-256x256.jpg?rev=1528173)

# AMP Post Script

 作者：[PStevenson](https://profiles.wordpress.org/silverokami42/)

[下载](https://downloads.wordpress.org/plugin/amp-post-script.1.7.5.zip)

 * [详情](https://cn.wordpress.org/plugins/amp-post-script/#description)
 * [评价](https://cn.wordpress.org/plugins/amp-post-script/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/amp-post-script/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/amp-post-script/#developers)

 [支持](https://wordpress.org/support/plugin/amp-post-script/)

## 描述

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

## 安装

 1. Upload `post-script-amp` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## 评价

此插件暂无评价。

## 贡献者及开发者

「AMP Post Script」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ PStevenson ](https://profiles.wordpress.org/silverokami42/)

[帮助将「AMP Post Script」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/amp-post-script)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/amp-post-script/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/amp-post-script/)，或通过[RSS](https://plugins.trac.wordpress.org/log/amp-post-script/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/amp-post-script/)。

## 更新日志

#### 1.0.0

 * Initial release

#### 1.1.0

 * Bug Fixes
 * Fix to Genesis Framework incompatibilities
 * Added amp support for pages (and a few customizations)
 * Added amp support for multiple other post types, including other plugins such
   as ( wpseo_locations | tribe_events )

#### 1.2.0

 * Bug Fixes
 * Fix general incompatibilities
 * Added amp support for editable post-types by defining them in your theme
 * Ability to disabled the related post feature
 * Removed all wp_footer actions, which can cause validation errors

#### 1.3.0

 * Bug Fixes
 * Update CSS

#### 1.4.0

 * Removed “pages” as a default post type, can be added back manually, see plugin“
   description”

#### 1.4.1

 * Cleaned up class and methods construction

#### 1.5.0

 * Restructured the plugin code to give it a better namespace to avoid any potential
   conflicts
 * Better documented plugin code

#### 1.5.1

 * Plugin compatibility fixes

#### 1.5.2

 * Plugin/css compatibility fixes

#### 1.5.3

 * Improvements to “related posts” functionality

#### 1.5.6

 * Bug Fixes

#### 1.6.0

 * Add Alt Tags to Related Posts

#### 1.7.3

 * Fix AMP html structure
 * Misc Bug Fixes

#### 1.7.4

 * Misc Bug Fixes

#### 1.7.5

 * Fixed issue where title tag does not appear

## 额外信息

 *  版本 **1.7.5**
 *  最后更新：**4 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **5.9.13**
 *  语言
 * [English (US)](https://wordpress.org/plugins/amp-post-script/)
 * 标签
 * [amp](https://cn.wordpress.org/plugins/tags/amp/)[custom](https://cn.wordpress.org/plugins/tags/custom/)
   [Post Script](https://cn.wordpress.org/plugins/tags/post-script/)
 *  [高级视图](https://cn.wordpress.org/plugins/amp-post-script/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/amp-post-script/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/amp-post-script/reviews/)

## 贡献者

 *   [ PStevenson ](https://profiles.wordpress.org/silverokami42/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/amp-post-script/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=55UDRSZMRD4KA)