{"id":3029,"date":"2008-05-17T18:57:09","date_gmt":"2008-05-17T18:57:09","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/sr-childpages\/"},"modified":"2008-05-17T19:11:28","modified_gmt":"2008-05-17T19:11:28","slug":"sr-childpages","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/sr-childpages\/","author":16101,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.2","stable_tag":"0.2","tested":"2.5.1","requires":"2.5","requires_php":"","requires_plugins":"","header_name":"SR-ChildPages Shortcode","header_author":"Neil Mickelson","header_description":"","assets_banners_color":"","last_updated":"2008-05-17 19:11:28","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/scottierocket.com\/wordpress-stuff\/sr-childpages","header_author_uri":"http:\/\/scottierocket.com","rating":1,"author_block_rating":0,"active_installs":10,"downloads":1364,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq"],"tags":[],"upgrade_notice":[],"ratings":{"1":"1","2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1","0.2"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[245,243,80],"plugin_category":[43],"plugin_contributors":[96982],"plugin_business_model":[],"class_list":["post-3029","plugin","type-plugin","status-closed","hentry","plugin_tags-list","plugin_tags-pages","plugin_tags-shortcode","plugin_category-customization","plugin_contributors-mickelsn1","plugin_committers-mickelsn1"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/sr-childpages.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin allows page authors to easily list any child pages of a given page by simply using a new <code>[childpages]<\/code> shortcode.  A basic list of the children to the page you're editing will be returned with the shortcode <code>[childpages]<\/code>.  More-complex versions of the shortcode, as described in the Usage section, give you additional control over the output results.<\/p>\n\n<h3>Usage<\/h3>\n\n<p>The basic shortcode to get a page list is <code>[childpages]<\/code>. Wherever you have a need to drop of a list of child pages for the page you're currently authoring, just enter that code in either the Visual or HTML editor. The list that results will not be shown with a title, will be one level deep, will not exclude any child pages or authors, and will be sorted by page order and then by title.<\/p>\n\n<p>To list the child pages with a title, use the enclosing form of the shortcode, like this:<\/p>\n\n<blockquote>\n  <p>[childpages]List Title[\/childpages]<\/p>\n<\/blockquote>\n\n<p>The text between the opening and closing shortcodes will be the title of the resulting list. It is being passed to the <code>title_li<\/code> attribute in the <code>wp_list_pages()<\/code> template tag.<\/p>\n\n<p>To change the defaults used to format the list, pass the appropriate parameters in your shortcode, like this:<\/p>\n\n<blockquote>\n  <p>[childpages depth=2 sort_column=ID]<\/p>\n<\/blockquote>\n\n<p>The parameters you provide are passed to <code>wp_list_pages()<\/code>. The following parameters are supported; usage details for these parameters can be found in the WordPress Codex.<\/p>\n\n<ul>\n<li><code>depth<\/code><\/li>\n<li><code>child_of<\/code><\/li>\n<li><code>exclude<\/code><\/li>\n<li><code>echo<\/code><\/li>\n<li><code>authors<\/code><\/li>\n<li><code>sort_column<\/code><\/li>\n<\/ul>\n\n<p>For more information, visit the plugin's home page at <a href=\"http:\/\/scottierocket.com\/wordpress-stuff\/sr-childpages\">http:\/\/scottierocket.com\/wordpress-stuff\/sr-childpages<\/a>.<\/p>\n\n<!--section=installation-->\n<p>To start using the <code>[childpages]<\/code> shortcode, install it by uploading the sr-childpages folder to your wp-content\/plugins directory and then activate the plugin through the 'Plugins' menu in WordPress.  Then just start using the shortcode in your pages!<\/p>\n\n<!--section=faq-->\n<dl>\n<dt>Why did you do this?<\/dt>\n<dd><p>Because none of the other plugins I've found that enabled similar functionality were exactly what I wanted.  They either didn't give me the control I wanted over things like sort order, or used comment tags that weren't visible in the Visual editor, or both.<\/p><\/dd>\n\n<\/dl>","raw_excerpt":"This plugin allows page authors to easily list any child pages of a given page by simply using a new [childpages] shortcode.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/3029","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=3029"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/mickelsn1"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=3029"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=3029"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=3029"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=3029"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=3029"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=3029"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}