=== AMP Supremacy === Contributors: Todd Spears Donate link: http://ampsupremacy.com Tags: AMP, Accelerated Mobile Pages, AMP Validator, Design your Accelerated Mobile Pages Requires at least: 1.0.1 Tested up to: 4.6 Stable tag: 1.0.91 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html AMP Supremacy | Accelerated Mobile Pages By the makers of Project Supremacy. == Description == AMP Supremacy | Accelerated Mobile Pages - By the makers of [Project Supremacy](http://projectsupremacy.com/). AMP Supremacy is a highly configurable one click install plugin to easily add AMP functionality to your websites pages, posts, categories and even tags! Custom design features include header logo, favicon and color styling for your page titles and articles. Easy to set up, easy to configure. We've even built in a mobile friendly test just because we can! Enjoy! == Installation == This section describes how to install the plugin and get it working. e.g. 1. Upload the plugin files to the `/wp-content/plugins/amp-supremacy` directory, or install the plugin through the WordPress plugins screen directly. 2. Activate the plugin through the 'Plugins' screen in WordPress 3. Click on 'AMP Supremacy' menu item at your WP Dashboard to play with settings == Frequently Asked Questions == = What does AMP stand for and why should I use it? = AMP is Accelerated Mobile Pages. AMP will render your current posts & pages into a text and image only style in which page load times drop drastically. Google displays AMP related pages in an AMP carousel at the top of their pages increasing your sites traffic. = How will I be able to see the AMP version of my page? = After installing and configuring the plugin hit save. Then just add /amp at end of any page URL on your site and you will see a nice AMPd version of your page. = Where do I get additional support on this plugin? = Ask us your query at [AMP Support](http://amp.freshdesk.com) and we will get back to you. = I have cloudflare working behind my pages, is that fine with AMP? = No, AMP do not support cloudflare yet so you will need to stop Rocket Loader in your cloud flare to inject scripts on AMP Pages. So that cloudflare is restricted for AMP Pages only with URL ending with `/amp` = I have AMP Supremacy installed but unable to find AMP Sitemap. Is there something I am missing? = You are so close to AMP Sitemap. Go to your AMP Settings in dashboard and register for AMP Sitemap Add-on. You will find the instructions to use this add-on while registering. You can got to [Register for AMP Supremacy Sitemap](http://ampsupremacy.com/sitemap-addon) to get a copy of AMP Sitemap Addon as well. = What is AMP Sitemap. Why do I need it? = Sitemap carries the list of AMP Pages operating on your website. They must follow the Google Sitemap validation schema. Submission of your sitemap to Google will add to your website's SEO and Google will be able to know what are the links to your AMP Pages so that it can index those pages in Google Search Results. = How I can display my AMP Sitemap in posts / pages? = Just add a shortcode `[amp-supremacy-sitemap]` in your posts / pages to display AMP Sitemap. == Screenshots == 1. This is settings page. 2. AMP on every device. == Changelog == = 1.0.91 = * Bug Fix: The AMP is not working for custom permalinks * Other minor style related improvements. = 1.0.90 = * Bug Fix: The menu links in AMP Page are not rendering with a trailing slash for some websites. * Bug Fix: The menu for some websites is loading with non-AMP Links = 1.0.89 = * Minor bug fixes and style improvements = 1.0.88 = * Bug Fix: Some users facing error with SEO data load on AMP Pages. * Other Design related minor fixes. = 1.0.87 = * Bug Fix: The AMP Pages are not loading up for some websites and going to original post page instead. * Bug Fix: Tags like p, a, etc are loading up non required attributes. = 1.0.86 = * New: The canonical URL must not load on post / page which is password protected untill user supplies a valid password for the post. * New: In the tags and categories page(s), if the any of the listed post(s) is password protected then it should not be displayed. * New: The featured image appearing in the AMP Page must be lightbox featured. * New: If the post / page is password protected, its AMP version will not be loaded and the user will be redirected to original page instead. = 1.0.85 = * New: User can now switch the AMP Menu on/off through AMP Supremacy Settings * New: Added a capability for user to select the menu which he want to be displayed on AMP Page. * Bug Fix: Clicking on Title of the post through AMP reports as a unexpected redirect. * Bug Fix: Canonical URL trimming of hyper referance is erroneous for some link texts. = 1.0.84 = * New: User can add/edit a logo to be displayed through Structured Data on AMP Google Search Results through AMP Supremacy Settings Page. * Bug Fix: Sometimes the logo image in structured data do not gets its dimensions * New: Added a hook 'is_amp_endpoint' so themes and plugins can check if AMP Page is being served or not. = 1.0.83 = * Bug Fix: The footer content control and the additional text displayed in footer contains backslashes. * Bug Fix: For RTL supporting websites, the page's meta information is distorted. = 1.0.82 = * Bug Fix: The youtube videos are not loading fine for some websites as video ID extraction was broken for few cases. * Bug Fix: Forms on AMP pages are contributing to Google AMP Errors. * New: The lightbox for images has got some styling improvements. = 1.0.81 = * Bug Fix: AMP pages are not loading for some users or some users are able to see blank screen instead of AMP Page. * New Feature: The images in post content will be showed up in lightbox when clicked. * New Feature: User can switch Lightbox on/off for his AMP Pages. = 1.0.80 = * Bug Fix: For some users (especially the ones having older version of PHP) the 'AMP Settings' are not loading up. * Bug Fix: For some users the AMP settings are showing up couple of PHP warnings. * Addition: Added a link to AMP Settings under 'AMP Supremacy' bar in Plugins Page. = 1.0.79 = * New: User can now add text to his AMP Page Footer through AMP Supremacy Settings Page. * New: If plugin finds youtube video link in post/page content, it will now render through `amp-youtube` instead of `amp-iframe`. = 1.0.78 = * Bug Fix: The Form action URL should not point to AMP Pages but to real pages. * Bug Fix: The menu is not opening up for some websites when menu button is clicked through header. = 1.0.77 = * User can switch whether to convert internal links to AMP or not. * Bug Fix: Some customers are facing PHP Warnings through RTL support. * Bug Fix: The author name, categories and tags is displaced in RTL Page. = 1.0.76 = * RTL compatibility. = 1.0.75 = * Bug Fix: The issue with forms been loading wrongly when 'action' is empty. = 1.0.74 = * Bug Fix: The text formatting issue. = 1.0.73 = * Bug Fix: The images with width less than 500px is not responsive or device friendly. * Bug Fix: Structured Data is broken for some websites. * Bug Fix: The author image is overlapping with text coming after it. * Bug Fix: Tags count differs from the original count for some pages. = 1.0.72 = * Bug Fix: For some websites the plugin is picking up wrong menu for navigation bar. * Bug Fix: The text indentation is appearing to be wrong for the text loaded through Thrive Content Builder. * Bug Fix: The images being loaded through Thrive Content Builder are displaced and their aspect ratio is disturbed. * Bug Fix: In some cases Thrive Content Builder content is still bearing shortcodes. = 1.0.71 = * Bug Fix: The featured image is not aligned in center of the page for users. * The users will be able to avail Google Analytics service through AMP Supremacy Lite = 1.0.70 = * Added capability to switch visibility of featured image on AMP Page = 1.0.69 = * Bug Fix: In case some link inside the post content is some download link then it must not be AMP'd. * Bug Fix: The text for some websites distored due to wrong image placements. * Bug Fix: Some website's internal links got '/amp' when there is already '/' at the end of the URL. * Bug Fix: Add Logo Image and favicon image functionality was broken for some websites because of some recent changes. = 1.0.68 = * Bug Fix: The header logo image and site name must redirect to AMP version instead of non-AMP version * Added a capability for user to hide the site name to be displayed through header. * Bug Fix: The menu for some websites is loading AMP link source as extended with /ampamp instead of /amp = 1.0.67 = * Modifications made to the tags and category pages' styles - changes 'Written By' to 'Author', the post seperator style changes. * If the post is not having the title a placeholder 'Untitled' will appear in place of it. * Bug Fix: Sometimes the child cat and tag page redirects back to non-AMP page OR do not loads the AMP page. * Bug Fix: The video tag is not allowed and it should be 'amp-video' instead of it. * Bug Fix: The 'source' under 'amp-video' tag must not be HTTP sourced - AMP Settings will reach this including form, iframes and videos. = 1.0.66 = * Bug Fix: The Category and Tags pages got some distorted styles as the images and text appeared to be out of parent container. * Bug Fix: The link to AMP version of some page is showing up as META in the pages where AMP is made off through AMP Settings. * Bug Fix: Child Categories and tags are not loading up the right content but the parent objects are loading the pages right. * Bug Fix: Smaller images in the content of page are bouncing up and getting very enlarged. = 1.0.65 = * The links which appear in page content of AMP Pages and are pointing to same website's some other page, should be AMP links. = 1.0.64 = * User will be now able to deal with forms as like other secure content (iframe & img) through AMP Settings. * Bug Fix: The attribute 'type' in tag 'input' is set to the invalid value 'file'. * Bug Fix: Invalid URL protocol 'http:' for attribute 'action' in tag 'form'. = 1.0.63 = * Dealt with the issue that content is not being loaded for the pages contructed via Live Composer. * UI and AMP Page Style Improvements based on the data being loaded through Live Composer Posts/Pages. * Bug Fix: The attributes like 'onclick', 'onfocus', 'onsubmit' etc should not appear in any tag. * Bug Fix: The attribute 'onclick' may not appear in tag 'textarea'. * Bug Fix: The attribute 'onclick' may not appear in tag 'input'. = 1.0.62 = * Bug Fix: The featured image sometimes is detected but the source URL for the same is not found - this results in GWT Error. * Bug Fix: The AMP Page title (when longer title) is exceeding its container. * Bug Fix: The AMP Pages are appearing broken for devices with 4 inch screen/display. * Compatibility with `Beaver Builder Plugin` - AMP Supremacy will now render the pages constructed with Beaver Page Builder fine. * Amazon Affiliate Links - The plugin shows up some errors for Amazon affiliate links being used as Image source. = 1.0.61 = * Bug Fix: Missing URL for attribute 'src' in tag 'amp-img'. * Bug Fix: Issue with Publisher Name in Structured Data. * Bug Fix: The tag 'amp-iframe' may not appear as a descendant of tag 'amp-sidebar'. * Bug Fix: The Navbar for some websites is broken and redirects to a page saying 'Page not found'. * Bug Fix: The tables being loaded at AMP pages are not loading data for some websites = 1.0.60 = * The images being loaded on AMP pages will now be following aspect ratio of their actual size. * User can now switch on/off the AMP for Home Page of their website. = 1.0.59 = * Bug Fix: The Logo Image in header, when size is increased the image alignment is disturbed and it exceeds header container. * Bug Fix: The height/width of the logo is not pre-loaded in AMP settings when once provided. * Bug Fix: Visual Editor users didn't get their post content showing up in AMP Pages. * Bug Fix: The content and title on AMP pages is not matching the actual one for some websites. * Bug Fix: The number categories and tags being displayed under title are not matching the exact/expected number for some websites. = 1.0.58 = * Added a menu on AMP page which will allow users to go to various AMP pages on their website. * Added a footer on AMP pages which will bear the Website name and tagline. = 1.0.57 = * Bug Fix: The input tags must not bear JS event attributes. * Bug Fix: 'src' attribute must not be empty for 'iframe'. * Feature Added: User can now adjust height and width of the logo image being displayed on AMP Page. * Feature Added: User can input the color code and adjust the darkness of the color being selected in AMP Settings for header, article text color. = 1.0.56 = * Minor Bug Fix: AMP pages are not loading for some websites. = 1.0.55 = * Bug Fix : Invalid URL protocol 'javascript:' for attribute 'href' in tag 'a'. * Bug Fix : Invalid URL protocol '