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

its2die4

Regular Member
Joined
Feb 7, 2009
Messages
391
Reaction score
42
Can someone please tell me how to get rid of the search box on my wp site? Big thanx!
HTML:
http://www.SincereWealth.com
 
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:)
 
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? ;-)
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:)
 
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.
 
Just Backup 1 the file you are gonna edit, search for "search" and see if there is an "input" tag below or above.
 
Even easier is just to comment out the search box <div> eg:

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