-
support for Woocommerce shortcodes.
2021-11-02 ver 9.3.28
From your WordPress Dashboard
Via file upload
Once Activated
Plugin is already preconfigured. So you can follow the link “Visit AMP Site” and enjoy plugin usage.
There are two ways to update the plugin.
First way, you should go to the Envato market and download the newest version.
Second way, it is the Update button. This button appears in the License tab every time when it is needed to update. You just need to press on the button and enjoy using.
Plugin settings is available from the page ‘Settings > WP AMP’.
General Settings:
Here you can configure basic plugin options such as max width of the content, allowed post types and archive pages, RTL etc.
Analytics:
Here you can set the Google Analytics, Google Tag Manager, Yandex Metrika or Facebook pixel.
Appearance Settings:
Here you can adjust settings like colors, fonts, header and footer elements, and post meta data block. Also you can configure social share buttons here and here are the tab for Extra CSS, if you need to add something.
Templates Settings:
Here you can customize AMP template blocks. For example you can enable or disable some blocks or change display order of blocks using drag & drop. Also, you can enable the search form for on this page or post. Enable or disable some titles, etc. The same settings are in another tabs. The Templates tab includes posts, pages, search, blog page, archives, 404 Page.
Schema.org:
Here you can boost your SEO by using Schema MarkUp.
License Tab:
Here you can activate or deactivate your lisence from Envato
Ads Settings:
Here you can setup AdSense, DoubleClick or custom ad blocks.
To enable these blocks on AMP you should enable them in Template Settings.
WooCommerce Settings:
Here you can customize AMP content blocks of WooCommerce pages. The same as Template Settings there is an ability to change visibility and display order of content blocks such as title, image, SKU, tags, social share buttons, etc. You can customize Product, Shop, Product Archives pages, Cart and Add to cart. Also, in all of this tabs you can enable the Product Search Form.
Please note that when you add an ad block first time it needs some time to appear.
Plugin provides with few useful shortcodes for embedding into the AMP content.
Related Posts
[wp-amp-related title="Related Posts" count=3][/wp-amp-related]
Parameters:
Recent Posts
[wp-amp-recent title="Recent Posts" count=3][/wp-amp-recent]
Parameters:
Share Buttons
[wp-amp-share types=facebook,twitter,linkedin,email width=60 height=44][/wp-amp-share]
Parameters:
AdSense
[wp-amp-ad type="adsense" width="150" height="50" data-ad-client="ca-pub-8125901705757971" data-ad-slot="7783467241"][/wp-amp-ad]
Parameters:
No AMP
[no-amp]This text will not be show in the AMP version[/no-amp]
Switch Button
[wp-amp-switcher title='Switch to default version'][/wp-amp-switcher]
Parameters:
Shortcodes:
The conditional tags of WP AMP and WordPress can be used in your template files to change what content is displayed based on what conditions the page matches.
is_wp_amp()
Returns true if an AMP page is requested.
Helper functions of WP AMP can be used for preparing content in custom templates.
Usage: <?php esc_amphtml( $content ) ?>
Description: Escaping for AMPHTML blocks.
Parameters:
List of URL params:
1. ?view-original-redirect=1
This URL param is used for accessing regular version of the page, if “Redirect all mobile users to AMP version by default” option enabled.
2. ?add-to-cart=[ID]
This is default WooCommerce URL param which allows adding product to cart via GET query.
3. ?add-to-cart-redirect=1
This URL param is used for adding to cart and accessing regular version of the product page, if “Redirect all mobile users to AMP version by default” option enabled.
We’ve used the following javascript and PHP libraries as listed.
All of these libraries are licensed under the MIT license.
WP AMP plugin supports default post types, pages and archives – posts, pages, categories, tags, search, blog page, etc.
Here is a list of extended components available by default:
Yes, plugin works fine with Product Pages, Product Archives, Shop Page. But Checkout and Cart Pages excluded from display because of AMP support of html form elements.
Yes, this plugin allow setup few different AdSense blocks.
Yes, you can rewrite post title, content, featured image from post edit page:
Yes, you can enable Google Analytics tracking by entering your GA code to the appropriate field under plugin general settings page.
Yes, there is additional setting at post/page Edit Page:
Yes, this plugin works fine with plugins above.
Ask your web host to allow list this IP address:
49.12.120.177
Note: Adding this IP address to your allow list solves the issue in 99% of cases!
Our server needs to contact your site to do this. If your site is blocking external HTTP requests we will be unable to validate your license and you will see a message in your dashboard asking for your API key. Here’s how you can resolve this.
Check your wp-config.php file and see if this line is present:
define( 'WP_HTTP_BLOCK_EXTERNAL', true );
If so, it is blocking the license validation.
So you can delete the above constant, or set it to FALSE, and use the WP_ACCESSIBLE_HOSTS to allowlist us (and any other necessary domains via a comma separated list). For example:
define( 'WP_ACCESSIBLE_HOSTS', 'custom4web.com,*custom4web.com,*.wordpress.org,localhost' );
Some security plugins, depending on their settings, may also block the validation process. Please temporarily disable them while attempting to validate your license.
First of all do not delete plugin via admin panel, that will destroy all your settings changes.
Just replace current plugin via FTP with the new one. After plugin update please resave permalinks, clear cache and check plugin settings.
Also you can use this tool for updating all your ThemeForest and CodeCanyon items.
support for Woocommerce shortcodes.
2021-11-02 ver 9.3.28
added preloading for image srcset.
2021-08-05 ver 9.3.27
image preloading. Use double quotation marks in img tags.
2021-07-13 ver 9.3.26
images preloading;
Gravity Form compatibility.
2021-07-05 ver 9.3.25
srcset option for images;
Gravity form bug with loading unneeded scripts to AMP.
2021-06-22 ver 9.3.23
links for external products;
compatibility with PHP 8.
2021-05-25 ver 9.3.22
custom fonts feature.
2021-04-29 ver 9.3.21
compatibility with SEO plugins.
2021-04-19 ver 9.3.20
compatibility with plugin All in one SEO Pack, canonical URL issue.
2021-03-15 ver 9.3.19
WordPress 5.7 support;
compatibility with plugin All in one SEO Pack.
2021-03-10 ver 9.3.18
minor PHP issues.
2021-03-02 ver 9.3.17
products variations issue.
2021-01-11 ver 9.3.16
JS scripts updates.
2020-12-16 ver 9.3.12
product variations.
2020-09-08 ver 9.3.11
compatibility with SEO Rank Math;
tags name for product variations.
2020-08-31 ver 9.3.10
support for Avada lazyload.
2020-08-13 ver 9.3.9
minor bugs.
2020-07-24 ver 9.3.8
Yoast SEO compatibility.
2020-05-14 ver 9.3.7
activate or disable AMP by post/product category or tag.
2020-04-14 ver 9.3.6
multiple ads issue.
2020-04-03 ver 9.3.5
images for post on blog;
save add to cart;
check class ads;
schema type name ‘Offer’;
a few other minor issues.
2019-11-21 ver 9.3.2
HTML in WooCommerce templates;
Schema settings saving data issue;
product search in amp.
2019-10-01 ver 9.3.1
compatibility with WP AMP ACF;
templates blocks;
separate templates for custom post types.
2019-09-23 ver 9.3.0
compatibility with WP AMP ACF;
Schema.org legacy functions;
footer social icons.
2019-09-06 ver 9.2.8
compatibility with WP Seopress;
Schema.org functions;
quotes design.
2019-08-29 ver 9.2.7
NOTHING YET