clickable toggle menu, help

Solution One, which is also the simplest, would be to postion the button over the text. Then you could click anywhere within the link to open the menu. This assumes you don’t actually ever want to go to the top level page. In you styles.css, add width: 100% !important; and text-align: right; to your .dropdown-toggle … Read more

Primary menu items are dissapearing

It seems that the background color of menu and text color of the menu items is same at https://trutrade.org/abouttrutrade/. That’s why, you feel that primary menu items are disappearing. When I add this code, the menu items appear in red color: a.mega-menu-link { color: #f00 } So, try changing the background color. It should fix … Read more

Custom menu is rendered in all menus

I actually found the answer on stackexchange as well: https://wordpress.stackexchange.com/a/184149/132736 I need to replace the ‘theme-location’ by ‘theme_location’. I simply misread the function reference on the WordPress codex.

Difference between “Walker_Nav_menu” and “walker”

Walker_Nav_menu extends walker and includes all the markup for a menu. walker by itself doesn’t have any markup, it just handles walking the tree, and needs to be extended to add markup. See the documentation: Extend the Walker class to use it, see examples below. Child classes do not need to implement all of the … Read more

Bring Font Awesome icons inside menu A tags

What I have tried in the past is to place the Font-awesome code with class name in the label field and remove any current labels. Instead of using the optional class field, this worked for me in the past. I have not tried it lately, so I am not sure if this still works. For … Read more

PHP Warning adding menu

Please check the first parameter of the function stripe_tags from \wp-includes\formatting.php on line 4670. You can check the value of the parameter by using var_dump( $variable ) and if you get array then change the array to string and then pass the string in the function. You can also use the function is_array to check … Read more