I have a primary menu navigation which lists pages as menu links. I also require Wayfinder to look inside a folder called "Featured Projects" (which is not shown in the menu) and pull out its children (only 1 level deep) and include them in my primary menu.
So, my page structure is like this;
a) Home
b) About
c) Featured Projects
i) Project 1
ii) Project 2
iii) Project 3
d) Contact
And my primary menu is to look like this;
Home | About | Project 1 | Project 2 | Project 3 | Contact
I have the following WF call;
[[Wayfinder? &startId=`0` &level=`2` &sortBy=`menuindex` &sortDir=`ASC` &total=`0` &ignoreHidden=`true` &hereClass=`current`]]
WF outputs the list as multiple HTML lists, but I only want 1 flat HTML list, not many, as per my diagram.
So, how do I make WF:
1. Get all documents, and all children of all folders (unless it appears in my &excludeDocs list)
2. Do not display any folders/containers, but still show its children in one flat HTML list.
3. Echo out the flat HTML list.