I have built a media query for Twenty Twenty-One that makes the mobile menu appear for screens widths up to 1023px. (My CSS is below for those interested, I think it should be pretty universal.)
I noticed some popular plugins (i.e woocommerce as in the image below) have their own “menu items” that can be added to any menu.
how can I create my own ?
I checked the entire theme developement handbook and nothing there
I am trying to add an icon to the Twenty Twenty-One social icons, but having trouble registering it.
I know that it’s easy to add something to the end of a navigation menu using code like the below:
I have a main menu of 3 items, and for each of these I have a different secondary menu. I would like to show the related secondary menu on each page.
I currently used is_page with slug. I will need to add wpml, so each page will have more slugs. I would like to ask if you can suggest me a cleaner and more maintainable solution.
This is what I did at the moment:
I am creating a new theme, but for some reason the menu isn’t displaying correctly. I want the separator to appear next to the menu items, but they are on the next line for some reason. This is what I am getting:
I have a nav menu in footer. I just want to display it side by a <p>
tag, I mean something like this
I’m using the following code to add a panel to the admin menu screen, so the users are able to add a Cart link to their menus:
I have footer menus built with wp_nav_menu
using code below:
I was trying to add css class to nav items.