Skip to main content

List all the Subpages on a Parent Page in WordPress

Recently, I was searching for a way to automatically list all the sub-pages on a parent page on my WordPress website. I thought there would be this functionality from earlier, without the use of any plugin, but there wasn't.

However, after researching and wasting lots of time, I found a simple WordPress plugin that lists subpages on the parent page. Let's see how to set up the plugin:

WordPress plugin to list subpages on the parent page

The plugin is called Page-list (by webvitaly) and it is completely free to use. Here's how it looks so that you choose the correct one while installing:


Simply install this plugin on your WordPress site and then you have to add a shortcode on the parent page where you want to show the subpages.

If you want to just show all the subpages in A to Z sorted fashion, use the shortcode [subpages] and it will show everything in a simple list format.
Here are some other shortcodes that you can use:
  • [pagelist] – hierarchical tree of all pages on site (useful to show a complete sitemap of the site)
  • [subpages] – hierarchical tree of subpages to the current parent page
  • [siblings] – hierarchical tree of sibling pages to the current page
  • [pagelist_ext] – list of pages with featured image and with the excerpt
You can find other available shortcodes on the plugin's official page.

Comments

Popular posts from this blog

Remove Footer Credits of the WordPress Theme Hestia 2.0.4

Hestia is one of the great fully-featured, fully responsive and highly customizable WordPress themes which is offered by Themeisle in free as well the premium version. But for a normal blog or simple website, free version of the theme is more than enough. I have used this WordPress theme on my few blogs and it works just fine. But you don't get an option to remove the footer credits of Hestia in its free version. There are many tricks and articles out there which explain the removal of the footer credits of various WordPress themes. But I didn't find a single resource which explains the way to remove the footer credits of the theme Hestia. I researched a lot and finally got the complete solution using which you can remove the existing footer credits from the theme Hestia and replace it with a custom one. Let's get started... Steps to Remove Footer Credits of the WordPress theme Hestia (2.0.4 Onwards) Here's a step-to-step guide for the same: Step 1:

How to Create a Popup on Menu Click in Your WordPress Website

Ever wanted to show a simple popup or subscriber popup when someone clicks any menu item on your WordPress website? Menu item click popups are quite helpful if you don't want to send your visitors to a different page or a new tab but sometimes people find it quite difficult to create a popup when someone clicks a link or a button. But what if I tell you that it's quite simple to do this thing if you own a WordPress powered website. Curious? Well, let's get started... Create a Popup when a Link or Button is Clicked Using this trick you can show a contact form, a button, a image or any text message to your visitors. The WordPress plugin  Popup Maker – Popup Forms, Optins & More makes it quite simple to create any kind of popup on your website. You can install this plugin to your WordPress website by searching at the Add New plugin section or download directly from the official WordPress.org . After installing the popup, you will need to create a ne

Remove Footer Credits of the WordPress theme Twenty Sixteen (2016)

How do you remove footer credits from the WordPress theme Twenty Sixteen? Here's a quick guide on the same which will let you add Custom Footer Copyright Texts in the WordPress theme Twenty Sixteen by removing the default Proudly Powered by WordPress credits. Twenty Sixteen - a clean, fast loading and a fully responsive WordPress theme, is one of the best themes for various kind of blogs and websites with a optional right sidebar. With more than 600,000 active installs, it appears to be always readable and good looking either for desktops, tablets or smartphones. The design of the theme is certainly not groundbreaking or out of this world but... it offers a very clean, polished and minimalist design. Let's get started with the removal of Proudly Powered by WordPress text from the footer of the WordPress theme Twenty Sixteen. Steps to Add Custom Copyright Text by Removing the Default Footer Credits from the WordPress Theme Twenty Sixteen Here's