{"id":39883,"date":"2015-12-10T12:27:16","date_gmt":"2015-12-10T12:27:16","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/add-page-from-template\/"},"modified":"2016-02-16T13:20:25","modified_gmt":"2016-02-16T13:20:25","slug":"add-page-from-template","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/add-page-from-template\/","author":1273683,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.4.4.1","stable_tag":"trunk","tested":"4.2.39","requires":"4.2","requires_php":"","requires_plugins":"","header_name":"Add Page From Template","header_author":"Yousan_O","header_description":"","assets_banners_color":"","last_updated":"2016-02-16 13:20:25","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/yousan\/add-page-from-template","header_author_uri":"http:\/\/www.l2tp.org","rating":0,"author_block_rating":0,"active_installs":10,"downloads":2542,"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.0.1","0.1","0.2","0.3","0.4","0.4.1","0.4.2","0.4.3","0.4.3.1","0.4.4","0.4.4.1"],"block_files":[],"assets_screenshots":{"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1539339","resolution":"2","location":"plugin"},"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1539339","resolution":"1","location":"plugin"}},"screenshots":{"1":"Virtual page would be made.","2":"Just make a page-foobar.php at your themes\/pages directory."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[3020,170],"plugin_category":[],"plugin_contributors":[94570],"plugin_business_model":[],"class_list":["post-39883","plugin","type-plugin","status-publish","hentry","plugin_tags-develop","plugin_tags-page","plugin_contributors-hogetan","plugin_committers-hogetan"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/add-page-from-template.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/add-page-from-template\/trunk\/screenshot-1.png?rev=1539339","caption":"Virtual page would be made."},{"src":"https:\/\/ps.w.org\/add-page-from-template\/trunk\/screenshot-2.png?rev=1539339","caption":"Just make a page-foobar.php at your themes\/pages directory."}],"raw_content":"<!--section=description-->\n<p>Are you tired to create pages through different environments?<\/p>\n\n<ul>\n<li>Add <strong>Virtual<\/strong> WordPress 'page' from php template file automatically<\/li>\n<li><p>Not needed to add 'page' from admin panel<\/p>\n\n<p>The page-xxx.php would be located at 'themes\/your-theme\/page-foobar.php' then the page will be created as 'http:\/\/www.example.com\/foobar\/' without admin panel.<\/p><\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Download the Add Page From Templete plugin.<\/li>\n<li>Decompress the ZIP file and upload the contents of the archive intot \/tp-content\/plugins\/.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Activate Custom permalink setting. (Make sure .htaccess file is generated)<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>How to add the virtual page?<\/dt>\n<dd><p>Put your template file into your 'themes\/yourtheme\/pages\/'.\n('themes\/yourtheme\/pages\/': default)\nMake the template page name 'page-xxx.php'.<\/p><\/dd>\n<dt>I put file but I cannot see the page. Why?<\/dt>\n<dd><p>Check the template file located at correctly directory.\nThe default directory is 'wp-content\/themes\/yourtheme\/pages\/'.<\/p>\n\n<p>Check whether the same slug page * NOT EXISTS *.\nYou can check the conflict at the plugin setting page.<\/p>\n\n<p>Check custom permalink setting is activated.<\/p>\n\n<p>Please send the problem to the author.\nhttps:\/\/github.com\/yousan\/add-page-from-template\/issues<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>Version 0.4.4.1<\/h4>\n\n<ul>\n<li>Fixed: Remove critical bug.<\/li>\n<\/ul>\n\n<h4>Version 0.4.4<\/h4>\n\n<ul>\n<li>Fixed: Set Title when called at wp_title().<\/li>\n<\/ul>\n\n<h4>Version 0.4.3.1<\/h4>\n\n<ul>\n<li>Fixed: Set title correctly.<\/li>\n<\/ul>\n\n<h4>Version 0.4.3<\/h4>\n\n<ul>\n<li>Upgraded: Show title from template file.<\/li>\n<\/ul>\n\n<h4>Version 0.4.2<\/h4>\n\n<ul>\n<li>Fixed: Removed a warning.<\/li>\n<\/ul>\n\n<h4>Version 0.4.1<\/h4>\n\n<ul>\n<li>Fixed: For old WP_version &lt;= 4.3.<\/li>\n<\/ul>\n\n<h4>Version 0.4<\/h4>\n\n<ul>\n<li>Fixed: APFT Overrides global $post. Now we can use function\/tags which refers to global $post such as get_post_type().<\/li>\n<\/ul>\n\n<h4>Version 0.3<\/h4>\n\n<ul>\n<li>Fixed: Removed debug code.<\/li>\n<li>Fixed: Added pagename when apft virtual page loaded.<\/li>\n<\/ul>\n\n<h4>Version 0.2<\/h4>\n\n<ul>\n<li>Fixed: version number.<\/li>\n<li>Fixed: Reload pages when the plugin is activated.<\/li>\n<\/ul>\n\n<h4>Version 0.1<\/h4>\n\n<ul>\n<li>Fixed: Remove Warning.<\/li>\n<\/ul>\n\n<h4>Version 0.0.1<\/h4>\n\n<ul>\n<li>Upgraded: Added template list table at the setting page.<\/li>\n<\/ul>\n\n<h4>Version 0.0.0.1<\/h4>\n\n<ul>\n<li>Plugin is born.<\/li>\n<\/ul>","raw_excerpt":"Are you tired to create pages through different environments?","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/39883","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=39883"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/hogetan"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=39883"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=39883"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=39883"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=39883"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=39883"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=39883"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}