WordPress.org

Ready to get started?Download WordPress

Forums

SEARCH button removal (5 posts)

  1. milanexan
    Member
    Posted 2 years ago #

    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.

  2. 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 -

  3. milanexan
    Member
    Posted 2 years ago #

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

  4. 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:

    http://codex.wordpress.org/FTP_Clients

  5. milanexan
    Member
    Posted 2 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic