{"id":37289,"date":"2015-07-11T04:35:37","date_gmt":"2015-07-11T04:35:37","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/cpt-template-path\/"},"modified":"2015-07-11T04:35:37","modified_gmt":"2015-07-11T04:35:37","slug":"cpt-template-path","status":"publish","type":"plugin","link":"https:\/\/vi.wordpress.org\/plugins\/cpt-template-path\/","author":7297041,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.1","stable_tag":"trunk","tested":"4.2.39","requires":"3.0.1","requires_php":"","requires_plugins":"","header_name":"CPT Template Path","header_author":"Dinesh Kesarwani","header_description":"","assets_banners_color":"","last_updated":"2015-07-11 04:35:37","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/cyberwani.wordpress.com\/","header_plugin_uri":"","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1167,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","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":[],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[2007,20729,1794,2222,20749],"plugin_category":[],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-37289","plugin","type-plugin","status-publish","hentry","plugin_tags-cpt","plugin_tags-cpt-template","plugin_tags-custom-post-type","plugin_tags-custom-post-type-template","plugin_tags-template-redirection","plugin_committers-cyberwani"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/cpt-template-path.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin adds Custom Post Type slug as folder path to template hierarchy.<\/p>\n <p>Like, if you a custom post type \"movie\". So, templates can be placed as below: your_theme\/movie\/single.php your_theme\/movie\/index.php<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Install CPT Template Path either via the WordPress.org plugin directory, or by uploading the files to your server.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>That's it.  You're ready to go!<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>0.1<\/h4>\n <ul>\n<li>initial plugin version<\/li>\n<\/ul>","raw_excerpt":"Adds Custom Post Type slug as folder path in template hierarchy.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/vi.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/37289","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vi.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/vi.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/vi.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=37289"}],"author":[{"embeddable":true,"href":"https:\/\/vi.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/cyberwani"}],"wp:attachment":[{"href":"https:\/\/vi.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=37289"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/vi.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=37289"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/vi.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=37289"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/vi.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=37289"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/vi.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=37289"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/vi.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=37289"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}