{"id":51692,"date":"2016-10-23T19:00:56","date_gmt":"2016-10-23T19:00:56","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/simple-amp\/"},"modified":"2016-10-25T15:21:04","modified_gmt":"2016-10-25T15:21:04","slug":"simple-amp","status":"publish","type":"plugin","link":"https:\/\/twd.wordpress.org\/plugins\/simple-amp\/","author":8082924,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.1.1","stable_tag":"0.1.1","tested":"4.6.30","requires":"3.7","requires_php":"","requires_plugins":"","header_name":"Simple AMP","header_author":"Mustafa Uysal","header_description":"","assets_banners_color":"","last_updated":"2016-10-25 15:21:04","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/mustafauysal\/simple-amp","header_author_uri":"http:\/\/uysalmustafa.com","rating":0,"author_block_rating":0,"active_installs":10,"downloads":1523,"num_ratings":0,"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":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1.0","0.1.1"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1881,1882,150,841],"plugin_category":[],"plugin_contributors":[79473],"plugin_business_model":[],"class_list":["post-51692","plugin","type-plugin","status-publish","hentry","plugin_tags-accelerated-mobile-pages","plugin_tags-amp","plugin_tags-google","plugin_tags-mobile","plugin_contributors-m_uysl"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/simple-amp.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>A ridiculously simple yet powerful plugin that automatically generates AMP pages based on current template.<\/p>\n <h4>Features<\/h4>\n <ul>\n<li>It is extremely simple, no configuration needed.<\/li>\n<li>Works for all pages which uses WordPress template.<\/li>\n<\/ul>\n <h4>Advanced Usage &amp; Filters<\/h4>\n <ul>\n<li>If you need conditional check, use <code>Simple_AMP_Helper::is_amp_endpoint()<\/code><\/li>\n<li>Default endpoint is <code>amp<\/code> but you can change it via <code>simple_amp_query_var<\/code> filter<\/li>\n<li>You can modify HTML output by using <code>simple_amp_html_output<\/code> filter<\/li>\n<li>You can modify AMP output by using <code>simple_amp_output<\/code> filter<\/li>\n<li>You can use custom template file by using <code>simple_amp_template<\/code> filter<\/li>\n<li>Use <code>simple_amp_debug<\/code> filter for validation issues and fixes<\/li>\n<\/ul>\n <p><strong>PHP requirement<\/strong>:  This plugin only works with PHP 5.6 and above<\/p>\n <h4>Credits<\/h4>\n <ul>\n<li><a href=\"https:\/\/wordpress.org\/plugins\/amp\/\">AMP<\/a> plugin for inspiration<\/li>\n<li><a href=\"https:\/\/github.com\/Lullabot\/amp-library\">amp-library<\/a> for converting HTML to AMP<\/li>\n<\/ul>\n <h4>Contributing<\/h4>\n <p>Pull requests are welcome on <a href=\"https:\/\/github.com\/mustafauysal\/simple-amp\">Github<\/a><\/p>\n\n<!--section=installation-->\n<p>Extract the zip file and just drop the contents in the <code>wp-content\/plugins\/<\/code> directory of your WordPress installation and then activate the Plugin from admin's Plugins page.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt>Why AMP pages looks ugly?<\/dt>\n<dd><p>You should consider adding some inline css.<\/p><\/dd>\n<dt>Why it requires PHP 5.5?<\/dt>\n<dd><p>Because, Simple AMP uses <a href=\"https:\/\/github.com\/Lullabot\/amp-library\">amp-library<\/a><\/p><\/dd>\n <\/dl>\n\n<!--section=changelog-->\n<h4>0.1.1<\/h4>\n <ul>\n<li>PHP 5.5 support added<\/li>\n<\/ul>\n <h4>0.1.0<\/h4>\n <ul>\n<li>Initial version<\/li>\n<\/ul>","raw_excerpt":"A simple plugin that generates AMP pages based on current template.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/51692","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=51692"}],"author":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/m_uysl"}],"wp:attachment":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=51692"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=51692"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=51692"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=51692"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=51692"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=51692"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}