If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
  • #6771

    Ref: Newscast

    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.




    Glad that Chris could help you :)


    Hey guys, when i tried to remove the code line, i get a message error. get_search_form(); ?>


    Try to remove:


    only and leave <?php and/or ?>




    Glad that Chris could help you :)


    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.



    You can reposition the icons with following code:

    #header .social_bookmarks{
    right: 0;

    I’d add the code to css/custom.css or the quick css field.



Viewing 10 posts - 1 through 10 (of 10 total)

The topic ‘How do I remove Search Box from Header’ is closed to new replies.