WordPress › Support � How i can remove search box in header. Thaem is AndyBlue 1.5

WordPress › Support � How i can remove search box in header. Thaem is AndyBlue 1.5

  1. 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.
  2. isw79
    Member
    Posted 3 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
  3. isw79
    Member
    Posted 3 years ago #
    If you want to remove the search box, please open header.php and remove the line
    <?php include (TEMPLATEPATH . '/searchform.php'); ?>
  4. grvpande
    Member
    Posted 3 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.
  5. 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