{"id":5299,"date":"2009-04-12T12:47:01","date_gmt":"2009-04-12T12:47:01","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wp-list-sub-pages\/"},"modified":"2009-04-12T13:57:57","modified_gmt":"2009-04-12T13:57:57","slug":"wp-list-sub-pages","status":"publish","type":"plugin","link":"https:\/\/twd.wordpress.org\/plugins\/wp-list-sub-pages\/","author":1871946,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.1","stable_tag":"trunk","tested":"2.7","requires":"2.0","requires_php":"","requires_plugins":"","header_name":"wp_list_sub_pages","header_author":"Didier Sampaolo","header_description":"","assets_banners_color":"","last_updated":"2009-04-12 13:57:57","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/www.php-experts.org","header_author_uri":"http:\/\/www.php-experts.org","rating":0,"author_block_rating":0,"active_installs":10,"downloads":2470,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation"],"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":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[170,3955,69607,6689],"plugin_category":[],"plugin_contributors":[79854],"plugin_business_model":[],"class_list":["post-5299","plugin","type-plugin","status-publish","hentry","plugin_tags-page","plugin_tags-page-tree","plugin_tags-sub_pages","plugin_tags-wp_list_pages","plugin_contributors-dsampaolo","plugin_committers-dsampaolo"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/wp-list-sub-pages.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This Wordpress plugin is oly one function. It takes exactly the same parameters as wp_list_pages, except for child_of, which is used internally.\nWhen called on in template file, it will list :\n* on the homepage of the blog, every page and subpage (default, this can be overriden by parameters)\n* on every other page, only the pages with the same top-parent (parent of level 1)<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>wp_list_sub_pages.php<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Place <code>&lt;?php wp_list_sub_pages(); ?&gt;<\/code> in your templates<\/li>\n<\/ol>","raw_excerpt":"wp_list_sub_pages will list only pages within the same category (top-level parent) as the current page.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/5299","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=5299"}],"author":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/dsampaolo"}],"wp:attachment":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=5299"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=5299"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=5299"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=5299"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=5299"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=5299"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}