How to get rid of search box on a wordpress template

by 5 comments
Hi Gang

You see this site: Martial Arts Wembley - Taekwon-Do Warriors Club - there is a search box top right I want to get rid of, I assume I will have to take some code out?

Anybody know which part of the editor I go to to safely remove it, or which code to remove?

Many thanks
#main internet marketing discussion forum #box #rid #search #template #wordpress
  • Profile picture of the author Preben Frenning
    W00t! Taekwon Do! I'm a black belt
    Anyways, it seems the search box is in the header.

    Open header.php, and remove <?php include (TEMPLATEPATH . "/searchform.php"); ?>

    I assume that would remove it. (I'm not a programmer, nor a WP guru, but using common sense, and looking at the code have worked wonders for me =))

    Simply removing searchform.php, might also work.

    Remember to back up everything in case it messes up the theme! (The files you change)

    I hope that helps,
    - Preben
  • Profile picture of the author phil.wheatley
    Hey thanks guys for your help, commenting it out seems to be the way forward, I'll try that now.

    @Preben, cool, black belt! Although the site is for another guy, not me, although I'm in fact a black belt at Kung Fu instead...I feel a battle of the "which is the best martial arts" coming on lol.

    Anyway, thanks again guys for the help


Next Topics on Trending Feed