Take your website
To the next level
Discover our newly launched customization services and elevate your web projects to new heights.
Delegate tasks, save time, and unlock the power of professional WordPress outsourcing.

Okay
  Public Ticket #898549
how to delete search from menu
Closed

Comments

  •  2
    dzafra started the conversation

    hi! how i can delete the search buttom from the template menu? it dosnt appear on the menu or widgets section, i just dont want search on mi site

  •  7,120
    Oliver replied

    Hi,

    Please install TheGem child theme and add next code to functions.php file:

    function thegem_child_init() {
        remove_filter('wp_nav_menu_items', 'thegem_menu_item_search', 10);
    }
    add_action('init', 'thegem_child_init');

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver