Open imranhsayed opened 3 years ago
@imranhsayed here do you mean the header and footer menus right ? for that do we need hcms
plugin ?
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.
@imranhsayed now we can fetch the menus without any plugin , just did some experiment and we are getting the menus
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.
but we can have him name the menus like HEADER_MENU
and FOOTER_MENU
. this way we wont have another plugin to manage right ?
We can register the menus into our theme https://github.com/rtCamp/wp-decoupled/issues/58
@NicestRudeGuy Now that we are using the storefront theme Please use the menu location name that storefront theme uses.