We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum

Forum

Thread tagged as: Question, Problem, Runway

Hide from navigation

I'm currently working through my first build using Runway (like it a lot!). Quick question regarding the page options feature 'Hide from Navigation'.

On the page template I am loading the navigation as well as breadcrumbs using:

perch_pages_navigation([
            'levels'=>2,
            'template'=> array('top-navigation.html', 'sub-navigation.html')
        ]);
perch_pages_breadcrumbs();

What I would like to do is exclude some pages from the main navigation whilst retaining the breadcrumbs. I find that if I select hide from navigation both the breadcrumbs and menu item are removed when I only want to remove the main menu items.

Any ideas?

Ben Stillwell

Ben Stillwell 1 points

  • 5 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Now about creating a navigation group rather than hiding the pages?

Ben Stillwell

Ben Stillwell 1 points
Registered Developer

Did something else which seemed to work:

perch_pages_breadcrumbs([
                'include-hidden'=> true
            ]);
Drew McLellan

Drew McLellan 2638 points
Perch Support

Ok, just watch out for that if you want to hide a page in the future.