Comments 3MobileGear started the conversationJune 28, 2017 at 7:01pmHi, I would like to add an account button next to the cart and search button in the menu. Could you let me know what function to add?I've attached a screenshot. 7,092Oliver repliedJune 29, 2017 at 7:06amHI!Here is an example for adding a menu item with your's code: function thegem_menu_new_menu_item($items, $args){ if($args->theme_location == 'primary' && thegem_get_option('header_layout') !== 'overlay'){ $items .= '<li class="menu-item menu-item-NEW"><a href="#link">link</a></li>'; } return $items; } add_filter('wp_nav_menu_items', 'thegem_menu_new_menu_item', 10, 2);Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. Regards, Oliver1 Like 3MobileGear repliedJune 29, 2017 at 8:02amAwesome, thanks! Added to rule 2007 in functions.php 7,092Oliver repliedJune 29, 2017 at 8:03amYou are welcome!Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. Regards, Oliver Sign in to reply ...
Hi, I would like to add an account button next to the cart and search button in the menu. Could you let me know what function to add?
I've attached a screenshot.
HI!
Here is an example for adding a menu item with your's code:
Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list.
Regards, Oliver
Awesome, thanks! Added to rule 2007 in functions.php
You are welcome!
Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list.
Regards, Oliver