{"id":50719,"date":"2016-09-05T20:34:02","date_gmt":"2016-09-05T20:34:02","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/ams-single-post-template-selector\/"},"modified":"2022-01-23T11:30:17","modified_gmt":"2022-01-23T11:30:17","slug":"ams-single-post-template-selector","status":"publish","type":"plugin","link":"https:\/\/azb.wordpress.org\/plugins\/ams-single-post-template-selector\/","author":13769658,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.2","stable_tag":"1.2","tested":"5.9.13","requires":"3.1","requires_php":"","requires_plugins":"","header_name":"AMS Single Post Template Selector","header_author":"Manoj Sathyavrathan","header_description":"","assets_banners_color":"","last_updated":"2022-01-23 11:30:17","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.me\/manojsv","header_plugin_uri":"","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":80,"downloads":6519,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0":{"tag":"1.0","author":"manojsv","date":"2021-04-05 05:48:01"},"1.1":{"tag":"1.1","author":"manojsv","date":"2022-01-23 11:25:36"},"1.2":{"tag":"1.2","author":"manojsv","date":"2022-01-23 11:30:17"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","1.2"],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":1490543,"resolution":"1","location":"assets","locale":""},"screenshot-2.jpg":{"filename":"screenshot-2.jpg","revision":1490543,"resolution":"2","location":"assets","locale":""}},"screenshots":{"1":"In post edit screen screenshot-1.jpg.","2":"Template naming screenshot-2.jpg."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[2849,74516,20731,975,74515],"plugin_category":[43],"plugin_contributors":[93850],"plugin_business_model":[],"class_list":["post-50719","plugin","type-plugin","status-publish","hentry","plugin_tags-custom-template","plugin_tags-post-template-selector","plugin_tags-post-template","plugin_tags-template","plugin_tags-template-selector","plugin_category-customization","plugin_contributors-manojsv","plugin_committers-manojsv"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/ams-single-post-template-selector.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/ams-single-post-template-selector\/assets\/screenshot-1.jpg?rev=1490543","caption":"In post edit screen screenshot-1.jpg."},{"src":"https:\/\/ps.w.org\/ams-single-post-template-selector\/assets\/screenshot-2.jpg?rev=1490543","caption":"Template naming screenshot-2.jpg."}],"raw_content":"<!--section=description-->\n<p>This plugin allows you to choose different template for individual post, for the purpose of single post view, by selecting previously created post template from the provided drop-down list in the post edit screen.<\/p>\n\n<p>The plugin will replace the default template (single.php) with selected template for the post you applied the new template.<\/p>\n\n<p>To create a post template, write an opening PHP comment at the top of the file that states the template\u2019s name.<\/p>\n\n<pre><code>&lt;?php\n\/*\nPost Template - Name: Template Name\n*\/\n?&gt;\n<\/code><\/pre>\n\n<p><strong>Please Note:<\/strong> Post template name ussage: \"Post Template - Name:\".<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Install AMS Single Post Template Selector either via the WordPress.org plugin directory, or by uploading the files to your server.<\/li>\n<li>Activate the plugin.<\/li>\n<li>That's it. You're ready to go! <\/li>\n<\/ol>\n\n<p>Once you activated the plugin, create a post template in your theme's folder and go to Posts &gt; Add New screen in your admin dashboard.<\/p>\n\n<p>On the right hand side top you\u2019ll see Post Template Selector template drop-down list.  This is where you are able to access your post templates.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id='how%20do%20i%20create%20new%20post%20templates%3F'><h3>How do I create new Post Templates?<\/h3><\/dt>\n<dd><p>To create a post template, create a php file in theme's folder, write an opening PHP comment at the top of the file that states the template\u2019s name.<\/p>\n\n<pre><code>&lt;?php\n\/*\nPost Template - Name: Template Name\n*\/\n?&gt;\n<\/code><\/pre>\n\n<p>PS: Post templates use: \"Post Template - Name:\".<\/p><\/dd>\n<dt id='how%20do%20i%20use%20the%20post%20templates%20i%20created%3F'><h3>How do I use the Post Templates I created?<\/h3><\/dt>\n<dd><p>Go to Posts &gt; Add New screen in your admin dashboard.\nOn the right hand side top you\u2019ll see Post Template Selector template drop-down list.\nThis is where you are able to access your post templates.<\/p><\/dd>\n<dt id='can%20i%20include%20this%20plugin%20in%20my%20theme%20for%20distribution%20without%20any%20cost%3F'><h3>Can I include this plugin in my theme for distribution without any cost?<\/h3><\/dt>\n<dd><p>Yes. Of course.<\/p><\/dd>\n<dt id='i%20have%20a%20question%20that%20wasn%27t%20covered%20in%20the%20faq.%20how%20can%20i%20reach%20you%3F'><h3>I have a question that wasn't covered in the FAQ. How can I reach you?<\/h3><\/dt>\n<dd><p>Please email me at: <a href=\"mailto:&#109;&#097;&#110;&#111;&#106;&#109;&#097;&#114;&#050;&#048;&#049;&#x32;&#x40;&#x67;&#x6d;&#x61;&#x69;&#x6c;&#x2e;&#x63;&#x6f;&#x6d;\">&#109;&#097;&#110;&#111;&#106;&#109;&#097;&#114;&#050;&#048;&#049;&#x32;&#x40;&#x67;&#x6d;&#x61;&#x69;&#x6c;&#x2e;&#x63;&#x6f;&#x6d;<\/a>.<\/p>\n\n<p>Bug reports are, of course, appreciated and cost you nothing.\nI will try to make sure bugs are fixed ASAP.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>Version 1.0<\/h4>\n\n<ul>\n<li>First Release<\/li>\n<\/ul>","raw_excerpt":"This plugin allows you to choose different template for individual post.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/50719","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=50719"}],"author":[{"embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/manojsv"}],"wp:attachment":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=50719"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=50719"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=50719"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=50719"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=50719"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=50719"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}