Contains amazing walker class that can be easily used as a special walker in your own
What was however a little mystery for a while were the depths.
Let’s say you want to only display menu from 3rd to 4th level. (classic menu with rolldowns/dropdowns, just shifted a few levels…) – now what you actually have to do is to set
'start_depth' => 2
'depth' => 4 //(actually start_depth +2 !
This was quite counter-intuitive, but if you think about it, it makes sense in the end…
- The topic ‘Amazing walker class & the depth “issue”’ is closed to new replies.