{"id":3011,"date":"2008-05-05T14:01:33","date_gmt":"2008-05-05T14:01:33","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/page-template-extended\/"},"modified":"2015-09-10T12:31:44","modified_gmt":"2015-09-10T12:31:44","slug":"page-template-extended","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/page-template-extended\/","author":440830,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"2.1","stable_tag":"trunk","tested":"4.3.34","requires":"2.5","requires_php":"","requires_plugins":"","header_name":"Page Templates Extended","header_author":"Thomas Blomberg Hansen","header_description":"","assets_banners_color":"","last_updated":"2015-09-10 12:31:44","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":10,"downloads":8221,"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":["1.1","1.1.0.1","1.1.1","2.0"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[8698,170,2854,4929,4516],"plugin_category":[43],"plugin_contributors":[90773],"plugin_business_model":[],"class_list":["post-3011","plugin","type-plugin","status-closed","hentry","plugin_tags-is_page","plugin_tags-page","plugin_tags-page-template","plugin_tags-parent","plugin_tags-templates","plugin_category-customization","plugin_contributors-thomasdk81","plugin_committers-thomasdk81"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/page-template-extended.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Create templates for a specific page by its ID.\nThe reason I made this plugin, was to have subpages inherit their parent pages template.\nIf the subpage doesn't have a template assigned, the parent pages template will be used if it exists. It goes all the way up the hierarchy.<\/p>\n\n<p>The plugin works with an infinite number of subpages. If lets say a subpage is 6 levels down.\nIt will look at the first parent for the template, if it doesn't exist it will look one level up at the next parent.\nSo you can assign a template for the first level and fifth level. If you do so, level 1-4 would have the same page template and 5-6 a different page template.<\/p>\n\n<p>If a template is assigned through the page edit screen, it will overwrite this.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>page-template-extended<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the \"Plugins\" menu in WordPress.<\/li>\n<li>Create a page template in your theme folder (<code>\/themes\/theme-name\/page-\"ID\".php<\/code>).<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Why isn't this already built into WP?<\/dt>\n<dd><p>I don't know. Maybe the demand isn't there.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.1<\/h4>\n\n<p>Little bug fixing.<\/p>\n\n<h4>2.0 september 2015<\/h4>\n\n<p>Complete rewrite. Now using the right actions etc. No clutter, no options page.<\/p>","raw_excerpt":"Create templates for a specific page by its ID. Subpages inherit templates from their parent pages.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/3011","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=3011"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/thomasdk81"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=3011"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=3011"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=3011"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=3011"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=3011"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=3011"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}