Using the page-list plugin: getting the page identifier

WordPress sites can be more or less self-maintaining. Each and every Post can given a Category and then a standard block element “List Posts” can be used to display all the Posts that belong to a Category.

A Page is a different kind of entity from a Post and the page-list plugin can help collate those two.

The way you can do this is with the embedded instruction: here’s an example

The problem is you need to find the numbers for child_of and exclude. Each page and post has a unique sequence number given to it. It isn’t easy to find, but use this to find it. You have to open the page you want in the block editor of WordPress and in the URL, you will see something like “?post=520&” which is the page id.

It’s a bit time-consuming to track down the identifiers of your pages like that, but it works.

Leave a Reply

Your email address will not be published. Required fields are marked *