=== AMP for WP - Accelerated Mobile Pages ===
Contributors: mohammed_kaludi, ahmedkaludi, ampforwp
Tags: AMP, accelerated mobile pages, mobile, amp project, google amp, amp wp, google, plugin, SEO
Donate link: https://www.paypal.me/Kaludi/25
Requires at least: 3.0
Tested up to: 5.2.3
Stable tag: 0.9.98.8
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

AMP for WP is the most recommended AMP plugin by the community. Automatically add Accelerated Mobile Pages (Google AMP Project) functionality on your WordPress site.

== Description ==
AMP for WP automatically adds Accelerated Mobile Pages (Google AMP Project) functionality to your WordPress site. AMP makes your website faster for Mobile visitors.

[What's New in this Version?](https://ampforwp.com/new/) | [Priority Support](https://ampforwp.com/priority-support/#utm_source=wp_org&utm_medium=description-tab-pro-box&utm_campaign=AMP%20Plugin) | [View Demo](https://ampforwp.com/demo/) | [Screenshots](https://wordpress.org/plugins/accelerated-mobile-pages/screenshots/) | [Community](https://ampforwp.com/help-center/)

<strong>Extensions</strong><br>
Some useful extensions to extend AMP features, check [AMP Adsense Support](https://ampforwp.com/advanced-amp-ads/#utm_source=wp_org&utm_medium=description-tab-pro-box&utm_campaign=AMP%20Plugin), [Contact Form 7 Support](https://ampforwp.com/contact-form-7/#utm_source=wp_org&utm_medium=description-tab-pro-box&utm_campaign=AMP%20Plugin), [Email Opt-in Support](https://ampforwp.com/opt-in-forms/#utm_source=wp_org&utm_medium=description-tab-pro-box&utm_campaign=AMP%20Plugin) and [Call To Action Support](https://ampforwp.com/call-to-action/#utm_source=wp_org&utm_medium=description-tab-pro-box&utm_campaign=AMP%20Plugin). To view more, go to our [Extensions page](https://ampforwp.com/extensions/#utm_source=wp_org&utm_medium=description-tab-pro-box&utm_campaign=AMP%20Plugin).

<strong>Support</strong><br>
We try our best to provide support on WordPress.org forums. However, We have a special [community support](https://ampforwp.com/help-center/) where you can ask us questions and get help about your AMP related questions. Delivering a good user experience means a lot to us and so we try our best to reply each and every question that gets asked.

<strong>Bug Reports</strong><br>
Bug reports for AMP for WP are [welcomed on GitHub](https://github.com/ahmedkaludi/Accelerated-Mobile-Pages). Please note GitHub is _not_ a support forum, and issues that aren't properly qualified as bugs will be closed.


= Features: =

* NEW - Gutenberg Support
* NEW - Divi and Elementor Support [More Info](https://ampforwp.com/amp-pagebuilder-compatibility/)
* NEW - Addthis Sharing Support
* NEW - AMP Infinity Scroll Support
* NEW - Revolution Slider plugin Support 
* NEW - Photo Gallery by 10Web Support 
* NEW - MEWE social network Support 
* NEW - GDPR Compliance
* Out of the box compatiblity for Yoast SEO, All in One Seo, Rank Math, Genesis, SEOPress, Bridge Qode SEO, The SEO Framework and Squrilly SEO Plugin.
* Introducing Page Builder 3.0 for AMP! [Learn More & Video](https://ampforwp.com/tutorials/article/amp-page-builder-installation/)
* New Default Theme for AMP called Swift
* 3 Pre-built AMP Layouts for Business websites and landing pages 
* OneSignal Push Notifications integration 
* Advanced WooCommerce Support [More Info](https://ampforwp.com/woocommerce/)
* Gravity Forms Support [More Info](https://ampforwp.com/gravity-forms/)
* AMP Plugins Manager - Which allows you to disable a specific plugin functionality only in the AMP version
* Structured Data Options
* Page Break / NextPage (Pagination) Support
* Contact Form 7 Support [More Info](https://ampforwp.com/contact-form-7/)
* Graviry Form Support [More Info](https://ampforwp.com/gravity-forms/)
* Caldera Form Support [More Info](https://ampforwp.com/caldera-forms-for-amp/)
* Ninja Form Support [More Info](https://ampforwp.com/ninja-forms/)
* Facebook Comments Support
* Github Gist Support
* Email Opt-in Subscription form support in AMP added
* Call to Action boxes and notification bars 
* 9 Advertisement sizes - 2 More AD slots added recently
* Comments Forms in AMP.
* Native AMP Search functionality.
* Design 3 [Watch the Video Overview](https://www.youtube.com/watch?v=ub1pwskt3Rc)
* Disqus Comments Support
* Google Tag Manager Support
* Page, Category & Tags Support Added
* Custom AMP Editor - Which allows you to override your Content that you had written in Post or page, so you can add the different content just for AMP.
* Mobile Redirection -  More than 50% of your traffic is from mobile and you aren’t doing anything to improve their user experience, which means you are falling behind on SEO and it can result in lower SERPS. Lightning fast mobile version means faster User experience means more engagement which directly results in the lower bounce rate.
* Custom Post Type Support 
* Star Ratings
* Drag & Drop Page builder Added 
* 4 Designs for AMP 
* AMP WooCommerce Support 
* Switch on/off Support for Pages & Posts on AMP
* Translation Panel & RTL
* Internal AMP linking - You can browse AMP pages internally
* Related posts below the post
* Recent Comments list
* Automatically integrate AMP to your website.
* Google Adsense (AMP-AD) Support with 4 different Ad slots across the layout! The First Plugin to have this capability.
* Built in MGID Ads Support with 6 different ad slots.
* Google Analytics Support.
* User Friendly Theme Options Panel.
* Unlimited Color Scheme.
* Image Logo Upload.
* Supports Posts and Pages and other custom post types.
* Proper rel canonical tags which means that Google know the original page.
* Overlay Navigation Menu bar.
* Social Sharing in the Single.
* Sexy Design.
* Separate WordPress Menu for AMP version.
* Page builder & Shortcodes Compatibility.
* Carousel support for Gallery.
* Better Image stretching and resizing.
* Youtube Video Embed Support.
* Vine Embed Support.
* Twitter oembed Support.
* Instagram Embed Support.
* Facebook Video Embed Support.
* RTL Support
* Custom AMP FrontPage
* Notifications
* Alexa Metrics, Chartbeat, Hi-stats, Yandex Metrika, Piwik, Segment.com, StatCounter, Effective Measure and comScore Builtin Support
* Incontent & DoubleClick Support
* Great Support & Active Development.
* Widgets & WooCommerce 
* Breadcrumb Support added 
* Facebook Instant Articles Support Added
* AMP Installation Wizard that makes it easy to setup for new users.
* Category base remover support
* Tag base remover support
* 7 New Social Media Integrations added (Reddit, Tumblr, Telegram, Digg, StumbleUpon, Wechat, Viber) 
* AMP Theme Framework Core Support Added. You can now create AMP templates of your own in just minutes. **[More](https://ampforwp.com/amp-theme-framework/)**
* NEW - Make AMP & Non-AMP Same with just one click! 
* NEW - Allows you to use AMP as primary website!


**[JOIN CHAT GROUP COMMUNITY](https://ampforwp.com/community/)**: Purpose of this group is to get proper suggestions and feedback from plugin users and the community so that we can make the plugin even better.

= Getting Started: =
**[1. User Documentation:](https://ampforwp.com/help/)** The AMP for WordPress plugin is easy to setup but we have some tutorials and guides prepared for you which will help you dive deep with the plugin.

**[2. Developer Docs:](https://ampforwp.com/tutorials/article-categories/developer-documentation/)** We have created special documentations for developers and semi technical users who are willing to modify the plugin according to their own needs.

**[3. Support:](https://ampforwp.com/help-center/)** We try our best to provide support on WordPress.org forums. However, We have a special community support where you can ask us questions and get help about your AMP related questions. Delivering a good user experience means a lot to us and so we try our best to reply each and every question that gets asked.

**[4. Premium Support:](https://ampforwp.com/priority-support/#utm_source=wp_org&utm_medium=description-tab-pro-box&utm_campaign=AMP%20Plugin)** We will personally take care that your website’s AMP version is perfectly validated. We will make sure that your AMP version gets approved and indexed by Google Webmaster Tools properly and we will even keep an eye on AMP updates from Google and implement them into your website.

== Credits ==
Some code used in this plugin was forked from 'AMP for WordPress' plugin https://wordpress.org/plugins/amp/ - License URI: http://www.gnu.org/licenses/gpl-2.0.html.
Mobile & Tablet detection library used https://github.com/serbanghita/Mobile-Detect - License URI: https://github.com/serbanghita/Mobile-Detect/blob/master/LICENSE.txt

== Installation ==
**[Visit Help area for the Documentation:](https://ampforwp.com/help/)**

[youtube https://www.youtube.com/watch?v=Em1nsE_KaKw]

**[Visit Help area for the Documentation:](https://ampforwp.com/help/)**


== Frequently Asked Questions ==

= Can I add analytics? =

Yes, you easily can. In fact, we have support for 12 Analytics companies. Including Google Analytics, Facebook Pixel, StatCounter, QuantCast, Chartbeat, comScore to list a few. Also, we have Google Tag Manager (GTM) support as well.

= Can I add Ads in my AMP pages? =

Yes, you can. We have 6 ad placement slots that are built in and strategically placed to get maximum views. Also, we have [an extension](https://ampforwp.com/advanced-amp-ads/) from which you can insert ads between the content, will get more ad slots and also add custom banners to all the available slots.


= Can I extend/Change the AMP design, so it suits my needs? =

Yes, you easily can. We have created this plugin in such a way that it can easily be extended. Check out our [AMP Theme Framework](https://ampforwp.com/tutorials/article/getting-started-amp-framework/)


= Do you have any prebuilt designs? =

Yes, we have AMP themes section where we have free and paid designs available. We also update it regularly. You can check it out our [AMP Themes](https://ampforwp.com/themes)


= I'm a developer and I want to add custom functionality for a client, can I do that? =

Yes, of course. This plugin is very developer friendly, we have lots of hooks and filters that you can use to extend and customize according to the requirements. Also, we have [developer documentation](https://ampforwp.com/tutorials/article-categories/developer-documentation/) which we update regularly.


= How do I report bugs and suggest new features? =

You can report the bugs [here](https://github.com/ahmedkaludi/Accelerated-Mobile-Pages/issues)

= Will you Add New features to my request? =

Yes, Absolutely! We would suggest you send your feature request by creating an issue in [Github](https://github.com/ahmedkaludi/Accelerated-Mobile-Pages/issues/new/) . It helps us organize the feedback easily.


= How do I get in touch? =

You can contact us from [here](https://ampforwp.com/contact/)


== Screenshots ==
1. AMP Homepage
2. AMP Single Post
3. Post Navigation in Single
4. Sticky Social sharing icons
5. Overlay Navigation menu sidebar.
6. Page builder of the Single article. You can drag and drop any element.
7. Single post of Design One
8. GTMetrix Performance Report
9. Google PageSpeed Insight report for AMP
10. Homepage of Design One
11. Pingdom Speed Report for AMP

== Changelog ==

= 0.9.98.8 (7th SEPTEMBER 2019) =
* Improvements: AMP Option panel in mobile view #2603
* Improvements: Need to make compatible with yoast seo primary category option #3551
* Improvements: The "redirect chain" report taking extra steps to process. #3575
* Improvements: Rank math Titles & Meta compatibility #3592
* Improvements: Improvement in iframe #3563
* Improvements: optimize the TEL link to remove validation and provide better UX #3581
* Fixed: Need to check function exist get_cart_url as it is getting fatal error when only amp woocommere is active. #3584
* Fixed: Change Internal Links to AMP #3561
* Fixed: Rare issue with Yoast SEO/Excerpt #3511
* Fixed: lighthouse issues #3547
* Fixed: Gallery Captions not working #3536
* Fixed: Table is not aligning properly in amp version #3549
* Fixed: Getting Debug error ( cdn_url_main ) #3555
* Fixed: Delete button gone in page builder in RTL language #3545
* Fixed: caption design is different when comparing Gutenberg and classic editor #3573
* Fixed: Image is not aligned properly #3542
* Fixed: The extension 'amp-wistia-player' was found on this page, but is unused. Please remove this extension. #3587
* Fixed: No Index issue #2303
* Fixed: Need to create a basic tutorial for each elements of single in Swift #3499
* Fixed: Facebook like button is not aligned properly #3589
* Fixed: h1 was changed to h2 in the custom frontpage title after update #3546
* Fixed: When using JNews AMP Extender, It makes posts blank #3526
* Fixed: Infinite scroll script is adding in woocommerce archive pages #3570
* Fixed: Clicky analytics option getting hidden when GTM is on #3585
* Fixed: In add on mode when amp is in standard mode frontend is getting blank screen. #3508
* Fixed: Proper escaping in facebook instant article #3564
* Fixed: No Icon in Facebook Message when Font Awesome Icon type selected #3572
* Fixed: yoast breadcrumb making all ul list in capital letters #3540
* Fixed: Comments should be removed in the out put of Analytics Code #3593
* Fixed: Related post excerpt is not working with horizontal design #3595
* Fixed: Issue in Breacrumb if category has a comma #3598
* Fixed: After last update the cookie bar text shows the html code (a href) instead of creating a link. #3617

= 0.9.98.6 (31th AUGUST 2019) =
* Improvements: Structured Data improvements #3567
* Improvements: Addthis share button's postion field in 1,2 and 3 designs #3553
* Fixed: Rare issue AMP settings are not getting saved showing popup error "There was a problem with your action. Please try again or reload the page." #3494
* Fixed: Plugin removes Telegram links #3578
* Fixed: amp-addthis validation error on pages #3580
* Fixed: Spot.IM Comments not working on all designs #3568
* Fixed: Incorrect title tags being generated #3565
* Fixed: Reduce the size of auto inline css. #3115

= 0.9.98.5 (27th AUGUST 2019) =
* Improvements: Compatibility integrated with CDN enabler #3515
* Improvements: banner ux section of AMP panel settings improved #3470
* Improvements: Reduces the size of auto inline css ro avoid validation errors #3115
* Improvements: Tooltip to show description about "Social Share links to AMP" and "No Follow All Your Social Links" #3456
* Improvements: Avada pagebuilder compatibility feature integrated ( it will work when 'AMP PageBuilder Compatibility' extension is activate) #3550
* Improvements: Avia pagebuilder(Enfold) feature integrated ( it will work when 'AMP PageBuilder Compatibility' extension is activate) #3559
* Improvements: Filters to show or hide option on admin settings for Template-mode #3562
* Fixed: When AMP Page builder is checked with Empty Content,Container is missing on AMP view #3488
* Fixed: Validation error when adding featured video with Authentic theme #3535
* Fixed: User Experience issue with Custom Home Page #2348
* Fixed: Serach option should be enabled by default when user selected the design-3 #3485
* Fixed: Logo's resize option should only display when the image is present #3471
* Fixed: Row module settings popup header is overlapped while scrolling the options in AMP Page Builder #3467
* Fixed: labeling of the 'Text font' option in 'Row module settings' of AMP Page builder renamed #3468
* Fixed: When AMP takeover is enabled, the 'visit amp' on admin header should disabled #3502
* Fixed: Homepage amphtml not getting generated when there are no posts added. #3504
* Fixed: AMP cache description is getting overlap with the Checkbox description when amp cache extension is activate #3512
* Fixed: Category module's pagination of AMP Page builder is not working #3509
* Fixed: There is closing tag of 'a' tag in header-bar.php of design bar, for which there is no opening tag #3479
* Fixed: Icons not loading When Icon Font Library is selected to Font Awesome from the AMP options #3501
* Fixed: Shortcode placed with double brackets (i.e., [[shortcode]]) should not execute #3481
* Fixed: One signal push notification should work properly on AMP if any CDN plugin is used #3340
* Fixed: Extra options are being displayed after the search is completed in the AMP Options Panel #2874
* Fixed: In alt attribute's content single quotes should removed #3492
* Fixed: "amphtml" is not generatiing in sorce code when it comes to search results pages in non AMP #3458
* Fixed: Woocommerce archives and shop page support should not be dependent on Archives [Category & Tags] option #3558
* Fixed: noreferrer is getting added automatically, it should have what ever the user passes #3566

= 0.9.98.4 (6th AUGUST 2019) =
* Improvements: Pagebuilder Compatibility Options in 'AMP By Automattic' Addon Mode Settings #3507
* Fixed: Design is breaking in swift theme when RTL option is enabled #3527
* Fixed: Validation error when width and height is empty in the logo #3530
* Fixed: 'Read more' link in excerpt for category module of AMP page builder #3510
* Fixed: Mobile redirection causing extra redirects from /amp to /amp/ #3459
* Fixed: "Recent Posts below Related Posts" option should show only when it is available for the theme #3528

= 0.9.98.3 (2nd AUGUST 2019) =
* Improvements: OpenGraph Support in AMP #3261
* Improvements: Compatibility integrated with Cloudflare stream. #3230
* Improvements: Pagebuilder Compatibility Options in 'AMP By Automattic' Addon Mode Settings #3507
* Improvements: Some changes in AMP panel setting's defaults #3065
* Fixed: Search bar is messed up after 3425 and 3000 #3491
* Fixed: Lightbox effect not working with "Tablepress" when "Link To" option is selected in Attachment display settings #3451
* Fixed: Fatal error Uncaught Error: Call to undefined function ampforwp_is_non_amp() #3464
* Fixed: Ol and li design issue in swift theme on RTL mode #3457
* Fixed: When AMP Page builder is checked with Empty Content, Container is missing on AMP view #3488
* Fixed: rel=”nofollow” is getting replaced by rel=”noreferrer in links #3483
* Fixed: In Archives Category & Tags option is disabled, the link should go to non-amp #3486
* Fixed: Multiple H1 Tag Issues in AMP Version on Home and Category Pages in Design 3 #3466
* Fixed: Allow href attribute value with associated apps property #3475
* Fixed: Validation errors in amp category page when HotWP PRO theme is active #3455
* Fixed: Compatibility issue with WP Offload Media Lite. #3460
* Fixed: Fatal error Uncaught Error: Call to undefined method RevSliderFunctionsWP::check_for_shortcodes() #3465
* Fixed: If a title is loading then only its markup should load otherwise not #3495
* Fixed: In Template mode feature, some fixes #3478
* Fixed: Meta description option should be enabled by default SEO #3505
* Fixed: Fatal error Uncaught Error Class 'AMPforWP\AMPVendor\WP_Error' not found #3514
* Fixed: After the upgrade, AMP Page Builder is not working! #3506
* Fixed: Page builder content getting blank when we hit save. #3513
* Fixed: Wp editor not loading when Using Page builder (with Gutenberg) #3517
* Fixed: Single design 2 in Swift broken in one specific use case #3532

= 0.9.98.2 (25ND JULY 2019) =
* Fixed: Menu design issue in Design 3 #3489
* Fixed: Fatal error when latest version of Smush pro plugin activated #3487
* Fixed: After Version 0.9.98 update, Background Type gradient options are not showing in Row module of AMP pagebuilder #3490* Fixed: Undefined index ampforwp-amp-on-off #3474
* Fixed: Search bar is not showing in design three after enabling the search option in header option panel #3484
* Fixed: Content blank if Color Attribute is in Span tag #3497
* Fixed: Sticky Header has no background color when scrolling. #3498

= 0.9.98.1 (22nd July 2019) =
* Fixed: Logo and headline comes togeather after .98 update #3472
* Fixed: Default loading message as '1' in search bar after latest update (.98) #3476

= 0.9.98 (19th July 2019) =
* Improvements: Option to remove date from Homepage and also in Recent posts #3363
* Improvements: Option for amp-youtube Embed video attributes in row module of AMP Pagebuilder #3373
* Improvements: Menu sidebar background and elements color changing option for Design 1, 2 #3402
* Improvements: MGID Ad support in AMP FOR WP #3431
* Improvements: Sizes of featured image option for single 1 #3433
* Improvements: Addthis floating share button feature in amp #3424
* Improvements: Wistia Plugin Compatibility integrated #3386
* Improvements: Squirrly SEO  Compatibility integrated #3421
* Improvements: image-slider compatibility added in AMP sanitizer #3422
* Improvements: Compatability issue with ShortPixel Image Optimizer #3439
* Improvements: Improve the Search form (Sidebar) design #3425
* Improvements: AMP footer widget in design three #3411
* Improvements: Extension list added for AMP Email Extension #3144
* Improvements: Extension list added for Pinterest for AMP Extension #3195
* Improvements: Extension list added for Liveblog For AMP Extension #3194
* Fixed: Close menu button is not showing when a user comes from Google search #3401
* Fixed: When High-resolution Images option is enabled images link should be generated from higher-order to lower-order in schema markup #3442
* Fixed: Sticky Social Icons setting should be moved to Social Tab and some changes #3426
* Fixed: Fall back the header type code in the backend if a user has not selected any header type #3419
* Fixed: Revolution Slider not working perfectly when a user is inserting video #3311
* Fixed: Call to action option should be automatically enabled if the user selected header type-2 #3420
* Fixed: Double quotes on the author area #3441
* Fixed: Twitter URL is displaying instead of an icon when Zox news theme is active #3409
* Fixed: Extension code array issue #3438
* Fixed: Validation error due to amp-facebook-like #3427
* Fixed: Fatal error cannot redeclare is_amp_endpoint() (previously declared) #3415
* Fixed: Sticky Social Icons and cookies banner style issue #3452
* Fixed: Validation error the extension 'amp-next-page' was found on this page, but is unused please remove this extension #3463
* Fixed: gallery/slider module is not working when Convert AMP to WP theme (Beta) option is enabled #2771

= 0.9.97.65 (16th July 2019) =
* Fixed: PHP Warning at the top of the site: array_merge(): Expected parameter 1 to be an array #3434
* Fixed: Disqus comment is not working after version 0.9.97.63 #3446
* Fixed: Uncaught Error: Call to undefined method WPSEO_Options::get() for Yoast Premium #3447
* Fixed: Message: when Leverage Browser Caching is not supported #3449
* Fixed: Added the missing parameter $depth in filter 'nav_menu_item_id' #3454

Full changelog available [ at changelog.txt](https://plugins.svn.wordpress.org/accelerated-mobile-pages/trunk/changelog.txt)