Unlike to posts, WordPress pages allows you to create sub/child pages of any page. This is done from page attributes widget present on Dashboard -> Pages -> Add New page. By default WordPress doesn’t provides you any option for listing child pages but most WP themes allows you to show them as dropdown menu in navigation. Now this article is on few good WordPress plugins you may use for listing child pages on their main parent page so that you can make things easy for your visitors specially if you are not showing them on navigation.
Following Are Three Plugins That Lists Child Pages On A Parent Page:
The plugin introduces shortcodes
[child-pages] for easily displaying a list of pages within a post or page. Both shortcodes accept all parameters that you can pass to the
wp_list_pages() function with the addition of a class parameter.
Listing pages sorted by title
Listing pages but exclude certain IDs and set the class of the list to “my-page-list”
Listing the current page’s children, but only show the top level
Listing the current page’s siblings and their subpages
It provides you a “Child Page Navigation” widget which can list all of the pages which are child to current page and if the page has no child pages, the widget will not show. After activation you may use the widget from Widget’s page present in site Appearance section.
The plugin provides you shortcode to display child pages from the page.
- This plugin will add shortcode
[child_pages]display child pages.
- You can customize default HTML template on your plugin.
- This plugin will be able to “excerpt” to the pages.
Display child pages of the current page.
- id – ID of page (Optional)
- size – Post thumbnail size. e.g. ‘thumbnail’ or ‘large’
- width – width of block for child pages.
- disable_shortcode – Shortcode not work in the template if set true.
- disable_excerpt_filters – filters not work for the excerpt if set true.