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

Use Menu Queries to dynamically fetch WordPress Menus #38

Open
1 task
imranhsayed opened this issue Jan 13, 2021 · 7 comments
Open
1 task

Use Menu Queries to dynamically fetch WordPress Menus #38

imranhsayed opened this issue Jan 13, 2021 · 7 comments
Assignees

Comments

@imranhsayed
Copy link
Contributor

  • Use Menu Queries to dynamically fetch WordPress Menus
@NicestRudeGuy
Copy link
Contributor

NicestRudeGuy commented Jan 14, 2021

@imranhsayed here do you mean the header and footer menus right ? for that do we need hcms plugin ?

@imranhsayed
Copy link
Contributor Author

I suggest we create our own plugin and add that as a dependency. That plugin has too many things that not required for this project.

@NicestRudeGuy
Copy link
Contributor

@imranhsayed now we can fetch the menus without any plugin , just did some experiment and we are getting the menus

@imranhsayed
Copy link
Contributor Author

You can get the menus but the menu needs to be registered in WordPress.
The user might register any menu and then expect the frontend to work.
To rule out this issue we can create our own plugin and put in README to ask the user to created and add our menus only.

@NicestRudeGuy
Copy link
Contributor

but we can have him name the menus like HEADER_MENU and FOOTER_MENU . this way we wont have another plugin to manage right ?

@imranhsayed
Copy link
Contributor Author

We can register the menus into our theme
#58

@imranhsayed
Copy link
Contributor Author

@NicestRudeGuy
Now that we are using the storefront theme
Please use the menu location name that storefront theme uses.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants