contacts

Get All 139 Premium WordPress Themes for Just $59.99
One-Time Payment: Unlimited Use Across Unlimited Domains, Plus Free Lifetime Updates!

How to Remove Header Search Icon

How to Remove Header Search Icon

In some cases you may want to remove the header menu search icon. It will require a small code change. Here are all of the necessary steps:

 

1. Navigate to Admin Panel -> Left Menu -> Appearance -> Editor

2. Open yourtheme/inc/utilities.php

3. Find and DELETE the following code:

$result .= ‘<li><a class=”search-form-icon” href=”#” title=”‘.__(‘Search’, ’tishonator’).'”></a><div id=”search-popup-content”>’;

ob_start();
get_search_form();
$result .= ob_get_clean();

$result .= ‘</div></li>’;

4. Save Changes

Leave a Reply