Hi, I'd be grateful of any help with eliminating the search box that appears in the header section of 2011 theme (in a page so it's in //html/body/div/header/form)
I want to make some other changes, so have already made a child template with a style.css & functions.php as per w/p tutorials. I can find the code that I want to omit using firebug, which is:-
<form id="searchform" action="http://localhost/" method="get"> <label class="assistive-text" for="s">Search</label> <input id="s" class="field" type="text" placeholder="Search" name="s"> <input id="searchsubmit" class="submit" type="submit" value="Search" name="submit"> </form>
and I've tried adding in a remove_action to the child functions.php like this:-
remove_action('wp_blog_header', '<form method="get" id="searchform" action="http://localhost/">' );
but it has no effect... I've obviously not referenced the action properly (NB: using localhost as designing it on my testing server) so would really appreciate any help with this! Thanks.