1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

HELP How to Get Rid Of Search Box on WP Site?

Discussion in 'Blogging' started by its2die4, Nov 3, 2010.

  1. its2die4

    its2die4 Regular Member

    Joined:
    Feb 7, 2009
    Messages:
    391
    Likes Received:
    42
    Occupation:
    IM
    Location:
    Planet Earth Temporarily
    Can someone please tell me how to get rid of the search box on my wp site? Big thanx!
    HTML:
    http://www.SincereWealth.com
     
  2. tshin810

    tshin810 Junior Member

    Joined:
    Jun 16, 2009
    Messages:
    163
    Likes Received:
    668
    You have to edit php code manually in theme folder. I do not know which php file because every web designer has slightly different design style. You can try to open home.php, index.php, single.php, page.php and search for:

    Code:
    	<div id="search" class="grid_7 prefix_17"> 
    		    <form action="http://www.sincerewealth.com/" method="get"> 
    			<div class="search_box"> 
    			    <input id="search_field" name="s" type="text" class="inputbox_focus inputbox pngfix" value="Search..." /> 
    			    <input type="submit"  value="" class="search-btn pngfix" /> 
    			</div> 
    		    </form> 
    		</div><!-- end search -->  
    Should backup your theme before messing around with the code. Wish you luck:)
     
    • Thanks Thanks x 1
  3. its2die4

    its2die4 Regular Member

    Joined:
    Feb 7, 2009
    Messages:
    391
    Likes Received:
    42
    Occupation:
    IM
    Location:
    Planet Earth Temporarily
    your the best thanks! I'll look for it. Whats the best way of backing up my site? is there one button that I can press somewhere? ;-)
     
  4. tshin810

    tshin810 Junior Member

    Joined:
    Jun 16, 2009
    Messages:
    163
    Likes Received:
    668
    I zipped whole domain folder and download to my computer. For database and site settings, I use a plugin named "WordPress Database Backup" which can automatically backup data to your selected email by schedule.
     
  5. FrozenGod

    FrozenGod Newbie

    Joined:
    Oct 5, 2010
    Messages:
    26
    Likes Received:
    2
    Just Backup 1 the file you are gonna edit, search for "search" and see if there is an "input" tag below or above.
     
  6. fizzik

    fizzik Registered Member

    Joined:
    Apr 26, 2010
    Messages:
    53
    Likes Received:
    15
    Location:
    .au
    Even easier is just to comment out the search box <div> eg:

    Code:
    <!--<div id="search">
    search stuff etc
    </div>-->