{"id":45796,"date":"2008-12-22T08:35:46","date_gmt":"2008-12-22T08:35:46","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/list-pages\/"},"modified":"2008-12-22T08:35:46","modified_gmt":"2008-12-22T08:35:46","slug":"list-pages","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/list-pages\/","author":775912,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.2","stable_tag":"trunk","tested":"2.7","requires":"2.0.2","requires_php":"","requires_plugins":"","header_name":"List pages","header_author":"Anton Lindqvist","header_description":"","assets_banners_color":"","last_updated":"2008-12-22 08:35:46","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/qvister.se\/","header_plugin_uri":"http:\/\/wordpress.org\/extend\/plugins\/list-pages\/","header_author_uri":"http:\/\/qvister.se","rating":0,"author_block_rating":0,"active_installs":10,"downloads":2398,"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":[]},"plugin_section":[],"plugin_tags":[245,243],"plugin_category":[],"plugin_contributors":[91033],"plugin_business_model":[],"class_list":["post-45796","plugin","type-plugin","status-closed","hentry","plugin_tags-list","plugin_tags-pages","plugin_contributors-mptre","plugin_committers-mptre"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/list-pages.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Retreive pages, and children, in a more sophisticated way and add the correct class to the current parent li-element even if you're visting a child-page.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>list-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;?list_pages()?&gt;<\/code> in your templates to retrieve all pages, <code>&lt;?list_pages('','Home')?&gt;<\/code> to include a link to your root-url, <code>&lt;?list_pages(3)?&gt;<\/code> to retrieve all children of the page with an id 3<\/li>\n<\/ol>","raw_excerpt":"Retrieve pages, and children, in a more sophisticated way and add the correct class to the parent li-element even if you&#039;re visting a child-page.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/45796","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=45796"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/mptre"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=45796"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=45796"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=45796"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=45796"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=45796"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=45796"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}