You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a Menu is called all menu items are delivered on the same level, even if in the WordPress Admin the Menu is sorted like this f.e.:
Menu Item 1
-- Menu Item 1.1
-- Menu Item 1.2
Menu Item 2
Menut Item 3
A debug delivers any array with all items on the same level. Only the parent_item id is saved within the object.
It would be perfect if the Class Menu would deliver the submenu items as sub-items like it is done in the normal WordPress logic or Timber-Logic.
The complete behavior of menus by now relies heavily on corcel and doesn't quite work the way it should. I plan to give it a complete rewrite in the next weeks.
If a Menu is called all menu items are delivered on the same level, even if in the WordPress Admin the Menu is sorted like this f.e.:
-- Menu Item 1.1
-- Menu Item 1.2
A debug delivers any array with all items on the same level. Only the parent_item id is saved within the object.
It would be perfect if the Class Menu would deliver the submenu items as sub-items like it is done in the normal WordPress logic or Timber-Logic.
There might be a hint how this can be done here: https://github.com/corcel/corcel#multi-levels-menus
The text was updated successfully, but these errors were encountered: