Forum

Thread tagged as: Question

Perch pages navigation

Hello,

I have a website with 3 main sections which contain a lot of pages. The structure is as follows: https://imgur.com/a/8tR8MhO

In the footer I would like to show a navigation from a specific page: When I am on a page inside Zonnepanelen, so it doesn't matter if that is on contact, projecten or somewhere else, I would like to show all pages beneath Over zonnepanelen. When I am on a page inside LED-verlichting I would like to display the navigation from Over LED-verlichting. And when on a page inside Infraroodverwarming I would like navigation from Over infraroodverwarming.

But I am really stuck on this one, tried a lot of different options for perch_pages_navigation() but I can't get it to work. Could anyone help me out?

Thanks, Mike

Mike Hendriks

Mike Hendriks 0 points

  • 2 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

I don't think you'll be able to do that automatically with the navigation functions. You'll either need to use per-section templates, some PHP logic, or select the option via page attributes.

There's lots of ways to do it, just not automatically.

Okay thank you, I will try to find another way.