{"id":38230,"date":"2015-08-15T10:58:23","date_gmt":"2015-08-15T10:58:23","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/child-page-tree\/"},"modified":"2016-04-12T08:05:37","modified_gmt":"2016-04-12T08:05:37","slug":"child-page-tree","status":"publish","type":"plugin","link":"https:\/\/szl.wordpress.org\/plugins\/child-page-tree\/","author":2133439,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.1","stable_tag":"1.0.1","tested":"4.5.33","requires":"4.0","requires_php":"","requires_plugins":"","header_name":"Child Page Tree","header_author":"Hans-Helge Buerger","header_description":"","assets_banners_color":"ffffff","last_updated":"2016-04-12 08:05:37","external_support_url":"","external_repository_url":"","donate_link":"[PayPal Donation](http:\/\/bit.ly\/hhb-paypal)","header_plugin_uri":"https:\/\/github.com\/obstschale\/child-page-tree","header_author_uri":"http:\/\/hanshelgebuerger.de","rating":5,"author_block_rating":0,"active_installs":30,"downloads":2890,"num_ratings":1,"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":"1"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1221523","resolution":"128x128","location":"assets"},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1221523","resolution":"256x256","location":"assets"}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":"1221523","resolution":"1544x500","location":"assets"},"banner-772x250.png":{"filename":"banner-772x250.png","revision":"1221523","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1221503","resolution":"1","location":"assets"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1221503","resolution":"2","location":"assets"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1221503","resolution":"3","location":"assets"},"screenshot-4.png":{"filename":"screenshot-4.png","revision":"1221503","resolution":"4","location":"assets"},"screenshot-5.png":{"filename":"screenshot-5.png","revision":"1221503","resolution":"5","location":"assets"}},"screenshots":{"1":"Append page tree to site without any style","2":"Prepend page tree with custom stylesheet","3":"Example of usage for documentations","4":"Select box in backend","5":"Select box in backend"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[9922,2868,170,3957],"plugin_category":[],"plugin_contributors":[93435],"plugin_business_model":[],"class_list":["post-38230","plugin","type-plugin","status-publish","hentry","plugin_tags-child","plugin_tags-children","plugin_tags-page","plugin_tags-tree","plugin_contributors-obstschale","plugin_committers-obstschale"],"banners":{"banner":"https:\/\/ps.w.org\/child-page-tree\/assets\/banner-772x250.png?rev=1221523","banner_2x":"https:\/\/ps.w.org\/child-page-tree\/assets\/banner-1544x500.png?rev=1221523","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/child-page-tree\/assets\/icon-128x128.png?rev=1221523","icon_2x":"https:\/\/ps.w.org\/child-page-tree\/assets\/icon-256x256.png?rev=1221523","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/child-page-tree\/assets\/screenshot-1.png?rev=1221503","caption":"Append page tree to site without any style"},{"src":"https:\/\/ps.w.org\/child-page-tree\/assets\/screenshot-2.png?rev=1221503","caption":"Prepend page tree with custom stylesheet"},{"src":"https:\/\/ps.w.org\/child-page-tree\/assets\/screenshot-3.png?rev=1221503","caption":"Example of usage for documentations"},{"src":"https:\/\/ps.w.org\/child-page-tree\/assets\/screenshot-4.png?rev=1221503","caption":"Select box in backend"},{"src":"https:\/\/ps.w.org\/child-page-tree\/assets\/screenshot-5.png?rev=1221503","caption":"Select box in backend"}],"raw_content":"<!--section=description-->\n<p><em>Child Page Tree<\/em> adds a select box to the page edit site right above the publish button. Using this select box you can decide whether to add and where to add the page tree. You can either add the page tree at the very top of page (prepend) or add it to the end of a page (append).<\/p>\n\n<p>The output is a unorderd list with nested lists to reflect the hierarchy of the children. However this list can be changed using the build-in filter <code>child_page_tree_before_output<\/code>. This filter is applied before the list is added to content.<\/p>\n\n<p>The plugin ships with basic stylesheet, which adds a icon to each link and does not show the hierarchy of the pages. The handler for this stylesheet ist <code>child_page_tree_style<\/code> and you can simple dequeue the script using <code>wp_dequeue_style()<\/code>. Another way to add your own custom style is to override the default style by using a custom CSS plugin. The page tree has an id (<code>ul#child_page_tree<\/code>) you can use and one class, either <code>.append<\/code> or <code>.prepend<\/code> depending its location.<\/p>\n\n<h4>Requirements<\/h4>\n\n<ul>\n<li>min. PHP 5.4<\/li>\n<\/ul>\n\n<!--section=installation-->\n<p>You can download and install the plugin using the built in WordPress plugin installer. If you download it manually, make sure it is uploaded to \\\"\/wp-content\/plugins\/child-page-tree\/\\\". Activate Child Page Tree in the \\\"Plugins\\\" admin panel using the \\\"Activate\\\" link.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt>Can I add the page tree to another location on the page?<\/dt>\n<dd><p>No. Currently the plugin only supports appending and prepending. A shortcode could work but is not planned.<\/p><\/dd>\n<dt>Is it possible to add a page tree of page X into page Y?<\/dt>\n<dd><p>No. Child Page Tree displays only the page tree of the current site.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>[FIX] setter call which caused PHP errors<\/li>\n<li>[FIX] load textdomain for translations<\/li>\n<li>[ADD] Banner and Icon for WordPress.org Repo<\/li>\n<li>[ADD] Check PHP version before instantiating object<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release of the plugin<\/li>\n<li>[FEATURE] append or prepend page tree to site<\/li>\n<li>[HOOK::FILTER] <code>child_page_tree_before_output<\/code> child page tree before adding it to content<\/li>\n<\/ul>","raw_excerpt":"Display a page tree of all child pages of the current site","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/38230","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=38230"}],"author":[{"embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/obstschale"}],"wp:attachment":[{"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=38230"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=38230"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=38230"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=38230"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=38230"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=38230"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}