The search function on every website should be found in the top-right corner of the website for usability purposes. It serves as a shortcut to quickly find what you’re looking for, and is especially useful for poorly laid out websites or difficult to find content. The search bar is like your navigation menu, cranked up to 11.
We do not recommend removing the search bar.
Note: None of these will remove the ability of a user to perform a search of your website by simply add “/?s=search text” to your address bar. Or by typing “site:feastdesignco.com search text” into a search engine.
Don’t do it.
Remove the search form from loading using the Feast Customizations Plugin and adding:
remove_filter( 'wp_nav_menu_items', 'feast_primary_nav_menu_search', 12 ); // remove search
Simply hide it by applying the “display:none;” CSS property in your admin’s “Additional CSS” panel:
We don’t recommend editing the theme’s functions.php file, because changes you make there are lost during updates, but if you really need to, simply comment out this line:
add_filter( 'wp_nav_menu_items', 'feast_primary_nav_menu_search', 12, 2 );
by adding double-slashes like this:
//add_filter( 'wp_nav_menu_items', 'feast_primary_nav_menu_search', 12, 2 );
Theme versions older than 3.1.6 will have the theme name in place of the feast function.
eg. feast_primary_nav_menu_search will be either: