This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

List Pages Plus

Description

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.

Set default arguments in Settings Panel using wp_list_pages_plus(); replacement function. Instead of adding commonly used arguments to your wp_list_pages(); function, you can set these as defaults and update them easily without altering templates. The wp_list_pages_plus(); function mirrors the wp_list_pages(); 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 sidebar.php template (or wherever your Page menu list is output) by changing wp_list_pages('args'); to wp_list_pages_plus();

Screenshots

  • Settings Panel for List Pages Plus

Installation

  1. Upload the list-pages-plus directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Set the options in the Settings Panel
  4. Alter your template files to use wp_list_pages_plus() instead of wp_list_pages('args')

FAQ

Why aren’t the settings for the Override Arguments aren’t affecting my page menu?

You will need to alter your template files to use wp_list_pages_plus() instead of wp_list_pages('args'). This is usually located within your themes sidebar.php template.

How can I include only a couple of pages in my menu?

You can now switch between using an Exclude or an Include on the settings page.

What else can I do with this?

All wp_list_pages(); arguments can be set within the function’s template call. Find your themes template file that contains the wp_list_pages_plus(); call, usually sidebar.php and edit the function like so, wp_list_pages_plus('args=values'); Available arguments can be found at wp list pages.

Contributors & Developers

“List Pages Plus” is open source software. The following people have contributed to this plugin.

Contributors

Translate “List Pages Plus” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.