Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Class MENU does not work with multi-levels Menus #3

Open
maxleistner opened this issue Jul 10, 2018 · 1 comment
Open

Class MENU does not work with multi-levels Menus #3

maxleistner opened this issue Jul 10, 2018 · 1 comment
Labels
enhancement New feature or request

Comments

@maxleistner
Copy link
Contributor

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.

There might be a hint how this can be done here: https://github.com/corcel/corcel#multi-levels-menus

@sixmonkey sixmonkey added the enhancement New feature or request label Jul 17, 2018
@sixmonkey
Copy link
Owner

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.

sixmonkey pushed a commit that referenced this issue Dec 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants