WordPress.org

Support

Support » Themes and Templates » How i can remove search box in header. Thaem is AndyBlue 1.5

How i can remove search box in header. Thaem is AndyBlue 1.5

  • 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

Viewing 5 replies - 1 through 5 (of 5 total)
  • 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.

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

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

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

    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.

    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

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How i can remove search box in header. Thaem is AndyBlue 1.5’ is closed to new replies.
Skip to toolbar