Create a list of child pages by label?

  • 1
  • Question
  • Updated 2 years ago
I have one parent page that contains a lot of child pages. These child pages have a number of different labels associated with them. There must be a way to display a list of the child pages per label. 

For example, I want to create something like this:

Projects for the Current Year (parent page)

Team 1
page 1
page 2
page 3

Team 2
page 1
page 2
page 3

Where "team1" and "team2" are the labels. 

All child pages are held within the parent page.

And then create another parent page:

Projects for the Next Year (parent page)
Team 1
page 1
page 2
page 3

Team 2
page 1
page 2
page 3

I see a lot of ways to use labels in the forum but I can't figure out how to make this happen for myself.

I've got the following reporting structure:

{report-block}
{local-reporter:value:label myLabel}
{local-reporter}

{report-body}
   {report-info:label:content:link:true:source:@self>children}
{report-body}


This returns the label that I want, but it's pulling all pages with the label, not just the ones from the specific parent page. 

Much appreciated!
Photo of Jeff Scattini

Jeff Scattini

  • 4 Posts
  • 0 Reply Likes

Posted 2 years ago

  • 1

There are no replies.