{"id":5577,"date":"2009-05-20T18:45:07","date_gmt":"2009-05-20T18:45:07","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/list-children\/"},"modified":"2025-04-29T23:00:47","modified_gmt":"2025-04-29T23:00:47","slug":"list-children","status":"publish","type":"plugin","link":"https:\/\/scn.wordpress.org\/plugins\/list-children\/","author":1989327,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.2.0","stable_tag":"trunk","tested":"6.4.8","requires":"5.3","requires_php":"8.0","requires_plugins":null,"header_name":"List Children","header_author":"theandystratton","header_description":"","assets_banners_color":"","last_updated":"2025-04-29 23:00:47","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/theandystratton.com\/donate","header_plugin_uri":"","header_author_uri":"http:\/\/theandystratton.com","rating":5,"author_block_rating":0,"active_installs":100,"downloads":6392,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"2.0":{"tag":"2.0","author":"wpmaintainer","date":"2020-12-06 20:19:19"},"2.0.1":{"tag":"2.0.1","author":"wpmaintainer","date":"2020-12-06 20:20:29"},"2.1":{"tag":"2.1","author":"theandystratton","date":"2025-04-29 23:00:47"},"2.2.0":{"tag":"2.2.0","author":"theandystratton","date":"2025-04-29 23:00:47"}},"upgrade_notice":{"2.0":"<p>Removes support for HTML comments, adds WP 5.6 + PHP 7.4 support.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"2"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["2.0","2.0.1","2.1","2.2.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3284430,"resolution":"1","location":"plugin"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3284430,"resolution":"2","location":"plugin"}},"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[32191,40667,939,40668],"plugin_category":[59],"plugin_contributors":[78938],"plugin_business_model":[],"class_list":["post-5577","plugin","type-plugin","status-publish","hentry","plugin_tags-list-pages","plugin_tags-nagivation","plugin_tags-permalinks","plugin_tags-subnavigation","plugin_category-utilities-and-tools","plugin_contributors-theandystratton","plugin_committers-theandystratton","plugin_committers-wpmaintainer"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/list-children.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/list-children\/trunk\/screenshot-1.png?rev=3284430","caption":""},{"src":"https:\/\/ps.w.org\/list-children\/trunk\/screenshot-2.png?rev=3284430","caption":""}],"raw_content":"<!--section=description-->\n<p>Use an HTML comment to list links of the current page's children or siblings.<\/p>\n\n<p>Common usage is for content sites utilizing WordPress as a simple CMS. Some content hierarchies call for an Overview page followed by multiple subpages, for example, a Services page.<\/p>\n\n<p>Use the following shortcodes to list children and or siblings of the current page:<\/p>\n\n<p>Alphabetical listing of current page's children:<\/p>\n\n<p>[list_children sort_column=\"page_title\" sort_order=\"asc\"]<\/p>\n\n<p>List of current page's siblings, ordered by menu order (descending):<\/p>\n\n<p>[list_siblings sort_column=\"menu_order\" sort_order=\"desc\"]<\/p>\n\n<p>You can use a majority of the attributes from the wp_list_pages() call: http:\/\/codex.wordpress.org\/Function_Reference\/wp_list_pages<\/p>\n\n<p><em>The following will no longer work (deprecated):<\/em><\/p>\n\n<p>&lt;ul&gt;\n&lt;!--list_children()--&gt;\n&lt;\/ul&gt;<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Download and unzip to the 'wp-content\/plugins\/' directory <\/li>\n<li>Activate the plugin.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='can%20i%20include%20the%20current%20page%20in%20the%20list_siblings%28%29%20call%3F'><h3>Can I include the current page in the list_siblings() call?<\/h3><\/dt>\n<dd><p>Of course, use the following:<\/p>\n\n<pre><code>[list_siblings exclude_me=\"false\"]\n<\/code><\/pre><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.0.1<\/h4>\n\n<ul>\n<li>Clean up plugin description.<\/li>\n<\/ul>\n\n<h4>2.0<\/h4>\n\n<ul>\n<li>PHP 7.4 and WordPress 5.6 support<\/li>\n<li>Removed HTML comment support (deprecated)<\/li>\n<\/ul>","raw_excerpt":"Use an HTML comment to list links of the current page&#039;s children or siblings.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/5577","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=5577"}],"author":[{"embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/theandystratton"}],"wp:attachment":[{"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=5577"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=5577"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=5577"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=5577"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=5577"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=5577"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}