Forum
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?
Now about creating a navigation group rather than hiding the pages?
Did something else which seemed to work:
Ok, just watch out for that if you want to hide a page in the future.