If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
I would like to remove the search box from the header.
I have been unable to find where this can be done.
in your header.php find
<?php get_search_form(); ?>
You can remove this line.
Thanks. Happy now.
I had really meant the whole block but your pointer set me on the correct path and I found the relevant code.
Hey guys, when i tried to remove the code line, i get a message error. get_search_form(); ?>
I’m trying to do the same thing, but I tried making this change on the abundance theme and for some reason the social icons didn’t move to the right. The icons are just floating in the middle of the header as if the search bar was still there. Any idea why?
Thanks in advance.
The topic ‘How do I remove Search Box from Header’ is closed to new replies.