Home › Forums › WoodMart support forum › Mega Menu not showing Category Sub Items
Mega Menu not showing Category Sub Items
- This topic has 12 replies, 3 voices, and was last updated 5 years, 4 months ago by Elise Noromit.
-
AuthorPosts
-
July 3, 2019 at 7:51 am #131092
Jelly ITParticipantApologies for my lack of education with this topic but How do I get my sub categories to display in my mega menu? As you can see with the attached screenshot. When hovering on Components. It still shows the default mega menu. My components category is a parent category to other categories and should display them?
Attachments:
You must be logged in to view attached files.July 3, 2019 at 8:28 am #131101
Jelly ITParticipantJust in addition to my above post. I have seen in your video that I would need to choose which HTML block to use in my menu. And I saw how you edit HTML blocks. What I don’t know is how to have these HTML Blocks auto populate my sub categories. Or do I have to create a separate HTML Block for every parent category?
July 3, 2019 at 8:44 am #131105
Elise NoromitMemberHello,
Yes, each menu item requires a separate HTML block. You would better paste the sub-categories in the HTML blocks because if you arrange the menu as menu-item (category) and the sub-menu item (sub-category) HTML blocks would not be displayed.
Best Regards
July 3, 2019 at 9:44 am #131118
Jelly ITParticipantThanks for your response. When I create the HTML block. Is there no way to auto populate the sub categories and all their children? This is a HUGE task if I have to do it all manually.
July 3, 2019 at 11:28 am #131128
Elise NoromitMemberHello,
You can save your HTML block as a template, then just create HTML and insert the template https://xtemos.com/docs/woodmart/html-blocks-2/#posts_products_page
As for the rest, you will have to do it manually.
Best Regards
July 3, 2019 at 12:22 pm #131140
Jelly ITParticipantThanks. I was busy editing your “Menu-category” HTML Block example and discovered the following problem.
You use “Extra Menu List” theme element and manually add “Extra menu list items”. So all my sub categories will need to be added manually. This is possible but the problem with manual approach is the following:
I am importing my products and their categories from an external XML url. So if the external XML url adds a new category it will not be automatically be added to my Menu.
So I need a drop down menu that will automatically populate my parent and children categories according to what exists in my WordPress. I noticed you have a widget called “Categories” which does exactly this. So all the parent and children categories are automatically populated into this widget which is exactly what I need my navigation menu to do.
How can I get my navigation menu to act like your “category” widget? I need my navigation menu to auto populate my parent and children categories.
July 3, 2019 at 2:43 pm #131164
Elise NoromitMemberHello,
Create a sidebar http://prntscr.com/oa31ly add the Product category widget, then add the widgetised sidebar element http://prntscr.com/oa31z9 into HTML block.
Best Regards
July 4, 2019 at 5:58 pm #131392
Jelly ITParticipantThanks again for this. You can see the attached how the result looks like. It should not work like this. Because “Browse Categories” button should show the list of dynamic “product categories”. I do not want the user to click on a menu item first to see my list of dynamic product categories. Should I install another plugin like UberMenu (https://wpmegamenu.com) or something to achieve this?
Attachments:
You must be logged in to view attached files.July 4, 2019 at 7:14 pm #131408
Elise NoromitMemberHello,
We have not tested the plugin and do not guarantee 100% compatibility. Try setting a list, not a drop-down in the category widget.
Best Regards
July 6, 2019 at 2:50 pm #131593
tarantulaParticipantThis is also important to me – automatic populate BROWSE CATEGORIES menu with subcategories like categories in Shop page Widget Area.
Can I use some php code in BROWSE CATEGORIES menu?!
July 6, 2019 at 8:35 pm #131623
Elise NoromitMemberHello,
There is no option to make categories to update automatically.
You can add the categories to the search element of the Header Builder and in this case, newly created categories would be added and displayed automatically.
Best Regards
July 8, 2019 at 5:15 pm #131842
tarantulaParticipantWhere is BROWSE CATEGORIES menu – which file in template/theme? Can I use this template in child theme with some php loops for automatic populate categories menu?
July 8, 2019 at 7:34 pm #131857
Elise NoromitMemberHello,
Make the full backup of your site and customize the theme as per your needs. Yes, you can use a child theme for the purpose.
Best Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register