Support » How-To and Troubleshooting » SEARCH button removal

SEARCH button removal

  • Hi WP community,
    I wanted to remove the search button from my page and posts as I do not need it, followed an instruction given here on the forum (8 months ago) on how to do it, but it did not work, search button is still up there. This is how I did it: copied the entire code of header.php from 2011 parent theme to my child theme and changed line <?php get_search_form(); ?> into <!– <?php get_search_form(); ?> –>
    Since there are two lines of <?php get_search_form(); ?> I replaced the both of them
    I tried to clear also my browser but nothing has changed. What must be the problem? My Blog is http://www.e-moneymakingblog.com
    Thanks for replies.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Michael


    Forum Moderator

    if you want to edit header.php, make a copy of that file from the parent theme and save it into the child theme folder; then edit it.

    – do not paste any php code into the child theme’s style.css file –

    Can you please be kind enough to guide me how to save the file into the child theme folder? Thank you.



    Forum Moderator

    how to save the file into the child theme folder?

    you will need to use ftp or the file management of your hoster to do this:


    Thank you.I hope I can do it this time because the last time I was uploading a child theme I wasn’t able to, and needed a programmer to do that simple task for me.
    Thanks again.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘SEARCH button removal’ is closed to new replies.
Skip to toolbar