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...

Quick Guide to Remove Footer Credits of the WordPress Theme GeneratePress

In this post, I will be talking about How to Remove Default Footer Credits from the WordPress theme GeneratePress . GeneratePress is a very lightweight (< 1MB while zipped), fast, responsive and SEO friendly WordPress theme with more than 100000+ active installs. The theme works great with many page builders too and supports almost every famous WordPress plugins. GeneratePress provides you with an option to add custom copyright texts to the footer but it doesn't have an option to remove the existing default footer text. So, in this post, I will be sharing a way to even remove the default footer text from the WordPress theme GeneratePress. How to Remove the Footer Credits from the WordPress theme GeneratePress I have broken the trick into a few simple steps which are: Step 1: Log into the wp-admin First of all, log into your wp-admin by going to the YourSite.com/wp-admin. Where YourSite.com is the address of your website. Step 2: Open the T...