This plugin creates a “Sub Pages” Widget and also a dynamically generated “sub_page” shortcode with different parameters passing in it.Please find option available with this plugin for both “Sub Pages” Widget and “sub_page” shortcode.
The plugin provides a shortcode generator page(Option Page) in which dynamic shortcode is generated simultaneously when you select your options from the options field. The selected values are passed as a shortcode parameters and everytime you visit the page you can generate the shortcode you want.
Below are the options for displaying subpage if exists for that particular parent page.
- Displaying Sub Pages using a Sorting Order option.
Below are the options to add effect in the parent pages display when subpages are not available to display.
- Displaying parent page as per Sorting Criteria
- Page Exclusion, to not show the title of specific pages.
- Depth Level,
- Parent Sort Order, displaying parent pages title link using a Sorting Order option.
You can Copy the Dynamic Shortcode and paste where you want to display subpages or parent pages list.
e.g: [sub_page title=’Pages’ sort_order=’DESC’ sort_by_values=’ID’ exclude_page_id=’13’ depth=’2′ sort_order_parent=’DESC’ ]
Note: This plugin will list the subpages for the current page being displayed, but if their is no childpage(subpage) for the current displaying page then it will display list of all the parent pages. If you don’t want to display some of the parent pages then also their is a feature in the plugin.
Translation available in following languages
- Unzip ‘list_subpages.zip’ to the ‘/wp-content/plugins/’ directory or add it by ‘Add new’ in the Plugins menu
- Activate the plugin through the ‘Plugins’ menu
- Go to ‘Settings->List Subpage’ in the admin menu
The option to sort_by_values doesn’t work. Was reported as a bug 2 years ago but never fixed.