
WP放大器 是一个高级 WordPress 插件,它增加了对 WooCommerce 的加速移动页面 (AMP) 的支持。使用此插件,只需点击几下即可使您的网站移动化。
AMP HTML 是 Google 的一项开源计划,旨在提供可以随处即时加载的移动优化内容。在此处阅读有关 AMP 的更多信息 – www.ampproject.org。
WP AMP 使您能够:
- 在您的移动网站中包含所有内容类型和存档。
- 嵌入图像、视频、音频和 iframe。
- 完全定制标准设计或创建全新的设计。
- 使用 Google Analytics、Google Tag Manager、Yandex.Metrika 和 Facebook Pixel 跟踪访问者。
- 与 Yoast SEO、多合一 SEO 包、SEO 框架、SEO Ultimate 合作。
- 将 AMP 与 WooCommerce 集成以在移动设备上销售。
- 通过向 AMP 网页添加 AdSense 和 DoubleClick 广告来赚取额外收入。
语言本地化:
- 英语
- 德语。
- 西班牙
- 俄语
该插件适用于:
- 主页
- 博客页面
- 单一职位
- 静态页面
- 类别
- 标签
- 日期和作者档案
- 搜索
- 404 未找到页面
- 自定义帖子类型和分类法
- WooCommerce 商店、产品、类别、购物车和标签
以下是您可以自定义的内容:
- 您的徽标(文本、图像或两者兼而有之)
- 标题菜单
- 颜色
- 字体
- 页脚内容
- 特色图片
- 发布元数据块
- 相关文章和最近的帖子
- 帖子评论列表和评论表单按钮
- WooCommerce 功能
- 广告块
- 自定义 HTML 和 CSS
WooCommerce 集成
WP AMP 插件与 WooCommerce 插件配合使用,允许您在 AMP 网站上展示您的产品。
以下是将在 AMP 网站上可见的页面:
- 商店页面;
- 产品页面;
- 产品类别和标签页面;
- 购物车页面。
请注意: 由于 AMP 项目的限制,无法在 AMP 版本中拥有结账和帐户页面。因此,当您的用户单击“结帐”等时,他们将被重定向到您网站的普通版本。
将广告集成到您的移动网站中
AdSense 允许您在网站上放置广告块,并为每位点击广告的访问者提供收入。 当您网站的访问者点击广告时,资金开始流入。
使用我们的插件,您可以将 AdSense 集成到您的 AMP 网站中,并选择广告块的位置。
将广告放在顶部会为您带来更多点击,但可能会破坏您网站的外观。将广告放在底部不会破坏您网站的外观,但可能会导致点击次数减少。
使用我们的插件,您还可以使用简单的短代码“[wp-amp-ad]”将广告插入帖子内容中。
立即开始从您的网站获得额外的钱!
支持页面构建器
不同所见即所得页面构建器、面包屑的用户多次要求此功能。从技术上讲,由于 AMP 标准限制,无法提供对它们的完全支持——不允许使用某些 html 标签、内联 css 和自定义 js。这些适用于 WordPress 的所见即所得页面构建器会生成大量无法在 AMP 页面上正确显示和验证的 html 和内联 css。
因此,我们添加了单独覆盖每个帖子/页面内容的功能。如果您的桌面版网站布局复杂,并且希望在 AMP 上拥有相同的页面,则可以创建文本、图片、视频和常规格式的简单无代码版本,该版本将仅向 AMP 用户显示。
或者,如果需要,您可以完全禁用任何帖子或页面的 AMP 版本生成。
内置页面构建器
我们的插件提供了使用内置的拖放页面构建器启用、禁用、修改和重新排列 AMP 块的功能。页面构建器适用于帖子、页面、档案、博客页面、搜索页面、404 页面和支持的 WooCommerce 页面。有关更多信息,请参阅插件屏幕截图。
插件简码
WP AMP 插件提供了一组短代码,您可以在帖子内容中使用它们:
- [wp-amp-related] – 用于显示相关帖子的短代码
- [wp-amp-recent] – 用于显示最近帖子的短代码
- [wp-amp-share] – 用于显示社交分享按钮的短代码
- [wp-amp-ad] – 用于显示 AdSense 广告块的短代码
- [no-amp] – 用于从 AMP 中隐藏部分帖子内容的短代码
- [wp-amp-switcher] – 用于添加“切换到普通版本”按钮的短代码
有关更多详细信息和示例,请查看插件文档。
插件 API
- esc_amphtml( $content ) – 用于转义和清理 AMP 内容输出的函数。
- is_wp_amp() – 条件标记,如果打开 AMP 页面,则返回“true”。
文档中列出了插件过滤器和作。
重要事项
安装或更新 WP AMP 插件时,请务必重新保存永久链接并清除所有缓存!
WP AMP 兼容:
- 搜索引擎优化约斯特;
- WP火箭;
- 古腾堡;
- 多合一 SEO 包;
- WP Meta Seo 插件;
- Divi 主题;
- WPML;
- 超级缓存;
- W3 总缓存;
- WP Ultimate Recipe 支持;
- 视觉作曲家(WP Bakery);
- 联系表格 7;
- SEOPress;
- 福画廊;
- Yootheme;
- Avada 主题。
如果您有兴趣将 AMP 与 ACF 一起使用,您还需要获得 AMP ACF 附加组件.
插件更新
2022-10-21 - ver 9.3.35 New: Add compatibility with plugin sku-shortlink-for-woocommerce. 2022-09-30 - ver 9.3.34 New: Google Analytics 4 support. 2022-09-19 - ver 9.3.33 Fixed: Contact Form 7, ReCaptcha compatibility. 2021-12-20 - ver 9.3.29 Fixed: SEO Yoast compatibility. 2021-11-2 - ver 9.3.28 New: support for Woocommerce shortcodes. 2021-08-5 - ver 9.3.27 Improved: added preloading for image srcset. 2021-07-13 - ver 9.3.26 Fixed: image preloading. Use double quotation marks in img tags. 2021-07-8 - ver 9.3.25 Improvement: images preloading. 2021-07-5 - ver 9.3.24 New: images preloading; Fixed: Gravity Form compatibility. 2021-06-22 - ver 9.3.23 New: srcset option for images; Fixed: Gravity form bug with loading unneeded scripts to AMP. 2021-05-25 - ver 9.3.22 Fixed: links for external products; New: compatibility with PHP 8. 2021-04-29 - ver 9.3.21 Fixed: custom fonts feature. 2021-04-19 - ver 9.3.20 Improved: compatibility with SEO plugins. 2021-03-15 - ver 9.3.19 Fixed: compatibility with plugin All in one SEO Pack, canonical URL issue 2021-03-02 - ver 9.3.18 New: WordPress 5.7 support; Improved: compatibility with plugin All in one SEO Pack. 2021-03-02 - ver 9.3.17 Fixed: minor php issues. 2021-01-11 - ver 9.3.16 Fixed: products variations issue. 2020-09-08 - ver 9.3.11 Improvement: product variations. 2020-08-31 - ver 9.3.10 Improvement: compatibility with SEO Rank Math; Improvement: tags name for product variations. 2020-08-13 - ver 9.3.9 New: support for Avada lazyload; 2020-07-24 - ver 9.3.8 Fixed: minor bugs. 2020-05-14 - ver 9.3.7 Fixed: Yoast SEO compatibility. 2020-04-14 - ver 9.3.6 New: activate or disable AMP by post/product category or tag. 2020-04-03 - ver 9.3.5 Fixed: multiple ads issue; Tested WC compatibility. 2020-01-08 - ver 9.3.4 Fixed: templates. 2019-12-9 - ver 9.3.3 Fixed: php warning notice. 2019-11-21 - ver 9.3.2 Fixed: images for post on blog; Fixed: save add to cart; Improvement: check class ads; Fixed: schema type name 'Offer'; Fixed: a few other minor issues. 2019-10-01 - ver 9.3.1 New: HTML in WooCommerce templates; Fixed: Schema settings saving data issue; Fixed: product search in amp. 2019-09-23 - ver 9.3.0 Improved: compatibility with WP AMP ACF; Improved: templates blocks; New: separate templates for custom post types. 2019-09-16 - ver 9.2.9 Fixed: image src for Yootheme; Fixed: block "add to cart block" in product archives. 2019-09-06 - ver 9.2.8 Improved: compatibility with WP AMP ACF; New: Schema.org legacy functions; New: footer social icons. 2019-08-29 - ver 9.2.7 Improved: compatibility with WP Seopress; Improved: Schema.org functions; Improved: quotes design. 2019-08-16 - ver 9.2.6 Fixed: styles for WC filter; Improved: activation process. 2019-07-15 - ver 9.2.5 New: compatibility with Yootheme; New: added sorting block to Woocommerce shop page. 2019-05-14 - ver 9.2.4 Fixed: structured data for blog, archive, front pages; Improved: child items alignment for menu. 2019-05-7 - ver 9.2.3 Fixed: social script; Fixed: iFrame. 2019-04-12 - ver 9.2.2 Hotfix: the mobile redirecting. 2019-04-11 - ver 9.2.1 New: Database Search and Replace Script in PHP compatibility New: FooGallery compatibility 2019-03-31 - ver 9.2.0 New: 16 languages localisations; New: cart page; New: adding products to the cart without page reloading. 2019-02-19 - ver 9.1.7 Fixed: styles for an "Add To Cart" button in a "Grid" products template; Fixed: drag block in WooCcommerce tab; Fixed: canonical url; Improved: Spain and Russian localization; New: German localization. 2019-02-11 - ver 9.1.6 Fixed: hot fix, syntax error. 2019-02-08 - ver 9.1.5 New: Add custom font-face Fixed: Cyrillic character in DB Fixed: Background color for an amp-img Improved: License activation 2019-01-25 - ver 9.1.4 New: SEOpress compatibility Fixed: URL image for schemaorg 2019-01-22 - ver 9.1.3 Fixed: canonical url for Seo Ultimate plugin; Fixed: Contact Form 7; Improved: add image for shortcode recent-posts and related-posts. 2019-01-17 - ver 9.1.2 Fixed: Contact Form 7 compatibility; Fixed: Activation error if the website is in a sub-directory; Improved: opening external products; Improved: image sizes on the old theme; Improved: compatibility with Gutenberg. 2019-01-15 - ver 9.1.1 Fixed: new design & woocommerce compatibility. 2019-01-14 - ver 9.1.0 New: new theme. New: Contact Form 7 compatibility. New: footer menu. Fixed: opengraph url for yoast and aisop. Fixed: html tags error. 2019-01-04 - ver 9.0.14 Fixed: CSS issue; New: Playbuzz compatibility. 2019-01-03 - ver 9.0.13 Fixed: images size; Improved: plugin deletion; New: PHP 7.3 compatibility. 2019-01-02 - ver 9.0.12 Fixed: Visual Composer compatibility. 2018-12-28 - ver 9.0.11 New: compatibility with Polylang plugin. 2018-12-27 - ver 9.0.10 Fixed: image size issue; Fixed: WPML compatibility, menu icon issue; Improved: activation process. 2018-12-12 - ver 9.0.9 Fixed: bug with the site bar menu; Improved: reduced number of requests. 2018-12-12 - ver 9.0.8 Fixed: hot fix; 2018-12-10 - ver 9.0.7 Fixed: html bugs. New: Gutenberg support. 2018-11-22 - ver 9.0.6 Improved: Divi theme compatibility. Improved: activation process. 2018-11-12 - ver 9.0.5 Improved: WP Meta Seo plugin compatibility; Improved: The Events Calendar: Community Events plugin compatibility. 2018-11-06 - ver 9.0.4 Fixed: Facebook sharing. Improved: activation process. 2018-10-25 - ver 9.0.3 Fixed: uploading logo errors. Fixed: WPML compatibility errors. Improved: CSS structure. 2018-10-9 - ver 9.0.2 Fixed: shop template errors. Improved: selections options. Improved: breadcrumbs appearance. 2018-10-4 - ver 9.0.1 Fixed: php errors. Improved: activation license UX 2018-10-4 - ver 9.0.0 New: updates via the admin panel. Improved: Added new blocks to Templates settings. Improved: Default settings, pages activated. Fixed: Compatibility with WP Rocket. Fixed: Compatibility with PHP 7.2 Fixed: Mobile menu. Fixed: Menu active state. 2018-08-7 - ver 8.4.2 - Instagram hotfix. 2018-08-6 - ver 8.4.1 - Fixed the space bug on the search. 2018-04-10 - ver 8.4 - Fixed php warning - Fixed gallery shortcode - Fixed WooCommerce archive description sanitization - Several other minor bugfixes 2018-02-15 - ver 8.3 - Updated translation file .pot - Updated documentation - Several bugfixes 2017-12-02 - ver 8.2 - Added ability to replace "This page contains a form" template - Added link hover color option - Bugfix 2017-11-01 - ver 8.1 - Bugfix 2017-10-01 - ver 8.0 - Bugfix and code improvements - Updated documentation - Updated translation files - Added ability to make WooCommerce archive images clickable - Added automatic AdSense AMP ads (test mode) 2017-09-07 - ver 7.9 - Bugfix - Added ability to hide excerpt 2017-08-19 - ver 7.8 - Bugfix - Minor improvements - Added Russian plugin translation - Added Facebook like button 2017-07-29 - ver 7.7 - Bugfix - Minor improvements - Updated documentation with examples of using AMP ads between paragraphs 2017-07-07 - ver 7.6 - Bugfix - Minor improvements - Updated documentation - Added support for WooCommerce 3.x 2017-06-21 - ver 7.5 - Bugfix - Minor improvements - Updated documentation - Added accordion shortcode - WPML - added hreflang tags to AMP 2017-05-02 - ver 7.4 - Bugfix - Added ability to setup menu icon 2017-04-20 - ver 7.3 - Bugfix - Minor improvements - Small code refactoring 2017-03-23 - ver 7.2 - Bugfix - Minor improvements - Improved related products and add to cart blocks 2017-03-09 - ver 7.1 - Bugfix - Added ability to disable search on AMP - Minor improvements 2017-03-03 - ver 7.0 - Many bugfixes and improvements - Fixed schema.org - New WooCommerce markup option 2017-02-20 - ver 6.9 - Many bugfixes and improvements - Fixed schema.org - Added ability to disable titles - Added other cool features - Fixed validation issues - Fixed wrong meta data (Yoast SEO, All in One SEO Pack) 2017-02-15 - ver 6.8 - Many bugfixes and improvements - Added product tabs - Added related products - Added other cool features - Fixed schema.org for WooCommerce - Fixed validation issues 2017-01-30 - ver 6.7 - Many bugfixes and improvements - Added product ratings - Added search block - Added other cool features - Added support for RTL - Fixed validation issues - Improved compatibility with other plugins 2017-01-23 - ver 6.6 - Many bugfixes and improvements - Improved related posts and recent posts blocks - Added ability to use more ad blocks - Added other cool features - Fixed validation issues - Fixed issues with schema.org 2016-12-28 - ver 6.5 - Many bugfixes and improvements - Added support for Facebook embeds - Improved related posts and recent posts blocks - Added mail share button - Fixed issues with schema.org and rel=canonical 2016-12-12 - ver 6.4 - Many bugfixes and improvements - Added compatibility with WP 4.7 - Added WhatsApp and Pinterest buttons - Added support for Twitter and Instagram embeds - Added ability to disable Latest Posts AMP page - Fixed issues with YouTube, images, schema.org 2016-11-21 - ver 6.3 - Many bugfixes and improvements - Improved "content override" option - Added [no-amp] shortcode - Improved compatibility with third-party plugins - Added public esc_amphtml() function 2016-11-03 - ver 6.2 - Some bugfixes - Improved compatibility with W3 Total Cache plugin 2016-11-01 - ver 6.1 - Many bugfixes - Improved compatibility with third-party plugins - New features 2016-10-10 - ver 5.5 - Many bugfixes - Improved compatibility with several plugins - Added development mode 2016-09-27 - ver 5.3 - Bugfix (500 error and blank page) 2016-09-24 - ver 5.2 - Bugfix 2016-09-10 - ver 5.0 - Fixed many bugs - Improved security - Added more features and options 2016-08-12 - ver 4.3 - Fixed few bugs 2016-08-10 - ver 4.2 - Fixed few bugs - Improved compatibility with several plugins 2016-08-06 - ver 4.0 - Fixed few bugs - Improved compatibility with several plugins - Added settings for enabling/disabling AMP for post types and archives 2016-07-19 - ver 3.4 - Fixed few bugs - Improved compatibility with several plugins 2016-07-01 - ver 3.1 - Improved admin UI - Added ability to override content individually for every post/page. - Added social buttons - Added related posts and recent posts - Drag and drop for AMP page design blocks - Fixed few bugs 2016-06-13 - ver 2.2 - Fixed few bugs 2016-06-10 - ver 2.0 - Fixed a lot of bugs - Added more features and options - Improved admin UI - Added WooCommerce integration - Added support for AdSense - Added support for All in One SEO Pack 2016-06-01 - ver 1.5 - Added minor features - Fixed few bugs 2016-05-24 - ver 1.0 - Initial release
评论0