{"id":3723,"date":"2008-09-17T16:11:34","date_gmt":"2008-09-17T16:11:34","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/list-pages-plus\/"},"modified":"2009-05-15T17:26:27","modified_gmt":"2009-05-15T17:26:27","slug":"list-pages-plus","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/list-pages-plus\/","author":405607,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.5","stable_tag":"1.5","tested":"2.7.1","requires":"2.5","requires_php":"","requires_plugins":"","header_name":"List Pages Plus","header_author":"devbits","header_description":"","assets_banners_color":"","last_updated":"2009-05-15 17:26:27","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/skullbit.com\/donate","header_plugin_uri":"http:\/\/skullbit.com\/wordpress-plugin\/list-pages-plus\/","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":10,"downloads":8116,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","1.2","1.3","1.4","1.5"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1539133","resolution":"1","location":"plugin","width":924,"height":930}},"screenshots":{"1":"Settings Panel for List Pages Plus"}},"plugin_section":[],"plugin_tags":[245,243,6689],"plugin_category":[],"plugin_contributors":[81774],"plugin_business_model":[],"class_list":["post-3723","plugin","type-plugin","status-closed","hentry","plugin_tags-list","plugin_tags-pages","plugin_tags-wp_list_pages","plugin_contributors-devbit","plugin_committers-skullbit"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/list-pages-plus.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/list-pages-plus\/trunk\/screenshot-1.png?rev=1539133","caption":"Settings Panel for List Pages Plus"}],"raw_content":"<!--section=description-->\n<p>Alter the output of the wp_list_pages() function's HTML.  Add in your own classes, insert text into link title, add additional tags surrounding title.  Top-level Parents and Children are set seperately for greater flexibility.  You can also turn off parent links, useful when using collapsable menus.<\/p>\n\n<p>Set default arguments in Settings Panel using <code>wp_list_pages_plus();<\/code> replacement function. Instead of adding commonly used arguments to your <code>wp_list_pages();<\/code> function, you can set these as defaults and update them easily without altering templates.  The <code>wp_list_pages_plus();<\/code> function mirrors the <code>wp_list_pages();<\/code> function exactly and additional arguments may be added directly within the function call, direct arguments will also override default arguments for multiple location use and greater flexibility.  Just edit your <code>sidebar.php<\/code> template (or wherever your Page menu list is output) by changing <code>wp_list_pages('args');<\/code> to <code>wp_list_pages_plus();<\/code><\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>list-pages-plus<\/code> directory to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Set the options in the Settings Panel<\/li>\n<li>Alter your template files to use <code>wp_list_pages_plus()<\/code> instead of <code>wp_list_pages('args')<\/code><\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Why aren't the settings for the Override Arguments aren't affecting my page menu?<\/dt>\n<dd><p>You will need to alter your template files to use <code>wp_list_pages_plus()<\/code> instead of <code>wp_list_pages('args')<\/code>.  This is usually located within your themes <code>sidebar.php<\/code> template.<\/p><\/dd>\n<dt>How can I include only a couple of pages in my menu?<\/dt>\n<dd><p>You can now switch between using an Exclude or an Include on the settings page.<\/p><\/dd>\n<dt>What else can I do with this?<\/dt>\n<dd><p>All <code>wp_list_pages();<\/code> arguments can be set within the function's template call.  Find your themes template file that contains the <code>wp_list_pages_plus();<\/code> call, usually <code>sidebar.php<\/code> and edit the function like so, <code>wp_list_pages_plus('args=values');<\/code> Available arguments can be found at <a href=\"http:\/\/codex.wordpress.org\/Template_Tags\/wp_list_pages\">wp list pages<\/a>.<\/p><\/dd>\n\n<\/dl>","raw_excerpt":"Alter the output of the wp_list_pages() function&#039;s HTML.  Set default arguments in Settings Panel using wp_list_pages_plus() replacement function &hellip;","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/3723","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=3723"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/skullbit"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=3723"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=3723"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=3723"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=3723"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=3723"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=3723"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}