{"id":48780,"date":"2016-06-03T04:05:58","date_gmt":"2016-06-03T04:05:58","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/templatic-google-amp\/"},"modified":"2018-10-27T05:50:21","modified_gmt":"2018-10-27T05:50:21","slug":"templatic-google-amp","status":"publish","type":"plugin","link":"https:\/\/twd.wordpress.org\/plugins\/templatic-google-amp\/","author":16798491,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.0.2","stable_tag":"trunk","tested":"5.0.25","requires":"3.5","requires_php":"","requires_plugins":"","header_name":"Templatic Google AMP","header_author":"Templatic","header_description":"","assets_banners_color":"0095d1","last_updated":"2018-10-27 05:50:21","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/templatic.com\/","rating":5,"author_block_rating":0,"active_installs":10,"downloads":6217,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"1"},"assets_icons":{"icon-128x128.jpg":{"filename":"icon-128x128.jpg","revision":"1436919","resolution":"128x128","location":"assets"}},"assets_banners":{"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":"1438211","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1963969","resolution":"2","location":"plugin"},"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1963969","resolution":"1","location":"plugin"}},"screenshots":{"1":"This is how you can set the backend settings for AMP","2":"This is how will see the detail page with amp"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1881,1882,1884,60439],"plugin_category":[],"plugin_contributors":[147501],"plugin_business_model":[],"class_list":["post-48780","plugin","type-plugin","status-publish","hentry","plugin_tags-accelerated-mobile-pages","plugin_tags-amp","plugin_tags-google-amp","plugin_tags-templatic","plugin_contributors-rbhavesh","plugin_committers-templatic1"],"banners":{"banner":"https:\/\/ps.w.org\/templatic-google-amp\/assets\/banner-772x250.jpg?rev=1438211","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/templatic-google-amp\/assets\/icon-128x128.jpg?rev=1436919","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/templatic-google-amp\/trunk\/screenshot-1.png?rev=1963969","caption":"This is how you can set the backend settings for AMP"},{"src":"https:\/\/ps.w.org\/templatic-google-amp\/trunk\/screenshot-2.png?rev=1963969","caption":"This is how will see the detail page with amp"}],"raw_content":"<!--section=description-->\n<p>To work with <a href=\"http:\/\/templatic.com\/\">Templatic<\/a> AMP plugin just type 'amp' keyword after any archive, category, details or any page URL it will display AMP version of that page.<\/p>\n\n<p>After activating this plugin go to Plugin\u2019s settings &gt;&gt; and make sure that \u201cAMP\u201d option is enabled at your site to use this plugin.<\/p>\n\n<p>You can see different options here, like AMP theme, Header code and Footer code.<\/p>\n\n<p>AMP Theme : By default, it will use 'templatic' template which is available on \" plugins\/Templatic-AMP\/templates \" this folder.<\/p>\n\n<p>Once this plugin is activated at your site your site will dynamically generate AMP version. If you want to check the AMP version you need to append \" \/amp \" after your page URL. if your page URL is \" www.yourdomainname.com\/page1\/ \" then you need to add the \"\/amp\" after this URL as shown here. \" www.yourdomainname.com\/page1\/amp\/ \". It will load the pages instantly with mobile optimised content at your site.<\/p>\n\n<p>You can change style add your style into \" \\plugins\\Templatic-Google-AMP\\templates\\templatic\\style.php \" this file, if you want additional styling.<\/p>\n\n<p>One of our customers asked \u201c whether this theme supports Google AMP? \u201d in a pre-sales question. Which makes us curious and digging into it, it looks like Google AMP is targeted towards mostly the content-only, news and article content so that the user can read the news or article faster and not for the content and images rich, dynamic pages.<\/p>\n\n<p>AMP means Accelerated Mobile Pages, in other words, it strips down all the design and functionality to show content only page to the user as soon as possible. Certainly, this means it is not built for advanced WordPress sites with heavy content.<\/p>\n\n<p>However, what if you want to use Google AMP on a regular WordPress blog? We looked at the possible options and there exists an official WordPress plugin that lets enables google AMP on your site but only for blog posts. It wouldn't work for different post types &amp; taxonomies, pages or category archives.<\/p>\n\n<p>We believe WordPress pages and WordPress posts under Taxonomies should be able to use the power of Google AMP.<\/p>\n\n<p>Any WordPress blog once gets past few hundred blog posts might need to separate content into different taxonomies to keep things organised. For example, if you are running a Medical portal with hundreds of posts, you might have different taxonomies such as diseases, nutrition etc. so you can better manage your WordPress blog.<\/p>\n\n<p>Also, a content heavy WordPress blog might have 15-20 important pages, mostly content but they are not a WordPress posts.<\/p>\n\n<p>So we upgraded the plugin to support WordPress Pages and taxonomies.<\/p>\n\n<p>We are happy to release an upgraded, Free WordPress plugin today that takes Google AMP further by supporting the missing pieces \u2013 WordPress Pages, Taxonomies and category archives.<\/p>\n\n<p>How to use this Templatic Google AMP WordPress plugin?<\/p>\n\n<ol>\n<li>Download this Templatic Google AMP Plugin from above link.<\/li>\n<li>Connect to your WordPress dashboard (wp-admin) and navigate to Plugins &gt;&gt; Add New Plugin &gt;&gt; Upload Plugin &gt;&gt; Now upload the downloaded (Templatic-Google-AMP.zip) file &gt;&gt; Click on \u201c Install Now \u201d<\/li>\n<li>Once you install this plugin successfully, click on \u201c Activate Plugin \u201d.<\/li>\n<li>After activating this plugin go to Plugin\u2019s settings &gt;&gt; and make sure that \u201c AMP \u201d option is enabled at your site to use this plugin.<\/li>\n<li>You can see different options here, like AMP theme, Header code and Footer code.<\/li>\n<li>AMP theme: This option is used to change the template. If you want to change the default template \u201c templatic \u201d then please go to this mentioned file location and place your template here.\nFile location: \u201c plugins\\Templatic-Google-AMP\\templates\\ \u201d \nNote: You need to place two files \u201cheader.php\u201d and \u201c footer.php \u201d to your template files from the default template \u201c templatic \u201d<\/li>\n<li>Header Code: if you want to use the Google Analytics for a header then you can place your code in this area.<\/li>\n<li>Footer Code: if you want to use the Google Analytics for footer then you can place your code in this area.\nOnce this plugin is activated at your site your site will dynamically generate AMP version. If you want to check the AMP version you need to append \u201c \/amp \u201d after your page URL. if your page URL is \u201c www.yourdomainname.com\/page1\/ \u201d then you need to add the \u201c \/amp \u201d after this URL as shown here. \u201c www.yourdomainname.com\/page1\/amp\/ \u201d. It will load the pages instantly with mobile optimised content at your site.<\/li>\n<\/ol>\n\n<!--section=installation-->\n<p><strong>Installation<\/strong><\/p>\n\n<ol>\n<li>Upload the entire 'Templatic-Google-AMP' folder to the '\/wp-content\/plugins\/' directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>How do I create a custom template?<\/dt>\n<dd><p>Yes, you can.Copy plugins\/Templatic-AMP\/templates\/templatic folder and rename it to your desired template name and put that same name into AMP setting page on the back end side.<\/p><\/dd>\n<dt>Can I include this plugin in my theme for distribution?<\/dt>\n<dd><p>Yes. Source credits for the plugin should remain intact, per GPL requirements.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.0.1<\/h4>\n\n<ul>\n<li>Initial Release<\/li>\n<\/ul>","raw_excerpt":"To work with Templatic AMP plugin just type &#039;amp&#039; keyword after any archive, category, details or any page URL it will display AMP version o &hellip;","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/48780","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=48780"}],"author":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/templatic1"}],"wp:attachment":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=48780"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=48780"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=48780"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=48780"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=48780"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=48780"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}