WordPress.org

Ready to get started?Download WordPress

Forums

How i can remove search box in header. Thaem is AndyBlue 1.5 (6 posts)

  1. wicko143
    Member
    Posted 4 years ago #

    I am a newbie and less experianced with CSS or PHP. I really want to remove default search box up there in my blog. That search box is a reason to hide my blog information.

    my Blog

  2. wicko143
    Member
    Posted 4 years ago #

    Friends i been seeking for a help about this issue.
    There in Appearance => Editor

    I found " Search Form " on the right side under Theme Files Template Files

    I was to simply remove all the text in that file " searchform.php " and update the file

    Now i look at my Blog and search is no longer there in header.

    Thanks to WordPress.org n WordPress.com for giving us such great open source free services.

    Also thanks to all developers who have been working to update wordpress.

  3. isw79
    Member
    Posted 4 years ago #

    You have to chmod with 777 the files that you want to change otherwise you will never change anything using wordpress html editor

  4. isw79
    Member
    Posted 4 years ago #

    If you want to remove the search box, please open header.php and remove the line

    <?php include (TEMPLATEPATH . '/searchform.php'); ?>

  5. grvpande
    Member
    Posted 4 years ago #

    In header.php at line no. 26 you'll fine this code
    <?php include (TEMPLATEPATH . '/searchform.php'); ?>
    now if you want to remove it delete the code or you want to change the position paste this code wherever you want.

  6. jeratbp
    Member
    Posted 3 years ago #

    Here's the code in the Header.php file that I had to remove.

    <div id="search2">
    <form method="get" id="searchform2" action="<?php bloginfo('home'); ?>/">
    <div><input class="searchinput" type="text" onfocus="doClear(this)" value="<?php _e('Search'); ?>" name="s" id="s" />
    <input type="submit" id="searchsubmit2" class="search_button" value="Search" />
    </div>
    </form>
    </div>

    Jeremy

Topic Closed

This topic has been closed to new replies.

About this Topic