Special Offer: Buy All 10 Premium WordPress Themes for Just $55.99. Learn more

How to Remove Header Search Icon

zen template ZenEarthPro - Premium Zen Earth WordPress Theme by zentemplates.com

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


Best-selling Products:

Newsletter

Leave a Reply