Modifying Woocommerce menu based on tags and categories
Modifying Woocommerce menu based on tags and categories
Modifying Woocommerce menu based on tags and categories
I think there’s couple of ways doing this. 1) register_nav_menu, add your menu in Appearance > Menus to the registered menu location, then let wp_nav_menu handle the markup for you 2) register_nav_menu, add menu in Appearance > Menus, then use wp_get_nav_menu_items to get the menu items and write the html markup yourself. 3) Have an … Read more
The problem is your sub menus are hidden behind your header wrapper because the overflow is set to hidden. So a quick fix would be to go to Admin > Appearance > Customize > Additional CSS and paste in the following CSS. This will allow the overflow content to be visible. .header-cover { overflow-y: visible; … Read more
In your browser, hit F12 to inspect your mobile menu. If you resize your browser between 640px & 641px you can see the different styles being applied. You just need to override the styles for mobile. Here is what I came up with. Paste these styles in Admin > Appearance > Customize > Additional CSS. … Read more
I found this plugin. Not sure if that would help. Maybe do a google search with the words “plugin,” “change image,” and “scroll” in it. I sometimes have greater success looking there than in the main wordpress plugin directory. On another note, Javascript can change styles or images when passing over a div. Here are … Read more
You need to go into your new database and change the site url and home url to the new address. I suggest NOT doing this through phpmyadmin or the WP dashboard (using plugins) though as it will cause some problems. Plugins May work, but if wordpress hangs or times out or any number of things … Read more
You can do exactly what you suggest. You do not need to create a separate menu or change the php of a page template. If you add IDs like you suggested as anchors, then your menu items can just specifically target those IDs via the # sign. To control the link to this degree, you … Read more
I can extend the Walker_Nav_Menu class, but after taking a look to it, it seems there’s no way to know when an sub-menu will contain other sub-menu, because there’s no data available about its children You may want to look again mate. The Walker::display_element(…) method take the “List of elements to continue traversing” (understand children … Read more
How to remove Nav-Menu tooltips? (Wp-Globus plugin)
Menu doesn’t open on mobile