I have a website with this layout;
- Home (180)
- Public Radio (181)
- Commercial Radio (182)
- Resources (183)
- Links (184)
- Video (185)
- Contact (186)
When I use the Wayfinder code below, I get a dropdown menu, which is perfectly fine on most pages.
But I’d LOVE the navigation to look like this on one template. Where they are all side by side without a dropdown. Is it possible?
Home | Public Radio | Commercial Radio | Resources | Links | Video | Contact
Do you need/want this menu to be dynamic? It’s a pretty simple menu to have to jump through the hoops of configuring the calls or tpl chunks to be able to show the children as siblings.
The simplest may just be to have two Wayfinder calls, the first for the main tree and the second for resources children which would look kind of like this:
This would give you IDs 180-183 as the first part and then the children of the Resources doc beside resources. It’s not necessarily ideal but it would work.
Other options include playing with the chunks, a static menu or using a where clause to get the menu items by some other property such as a field or TV has a specific value. Similarly, you could just use
&includeDocs if defining the menu.
the other wayfinder use “getids” and diferent “tpl”, would be work I think.