Support » Fixing WordPress » Too many search boxes

  • I’m new to blogging.

    Using WordPress theme 2011. I have too many “search” boxes. One is one top of the header to the right and one is below. How do I get rid of one, or put it into that Header ribbon that is black. Is there an easy way with out coding. I don’t code. (G)


Viewing 8 replies - 1 through 8 (of 8 total)
  • WPyogi


    Forum Moderator

    Can you post a link to your site?

    you can remove second search in sidebar from widget

    Just discovered how to find my posts. Truly a newbie. Anyway, which wigit put in the second search. I don’t like the look of that big search bar on top on my header. Too large. I’d like to get rid of that. I don’t know code.Thanks.

    Hi sandrasallin,

    Depending on which theme you are using, the search bar (as seen in the header of your website), can be removed from your theme’s /header.php file. The code looks like this: (remove these lines)

    <form method="get" id="searchform" action="">
    		<label for="s" class="assistive-text">Search</label>
    		<input type="text" class="field" name="s" id="s" placeholder="Search" />
    		<input type="submit" class="submit" name="submit" id="searchsubmit" value="Search" />

    Usually found in your wp-content/themes/YOURTHEME/header.php

    [Moderator Note: Please post code or markup snippets between backticks or use the code button. As it stands, your code may now have been permanently damaged/corrupted by the forum’s parser.]



    Forum Moderator

    Re the above, don’t make any changes to the twentyeleven theme itself — you must use a Child Theme or you will lose all your changes when WP is updated and you must have a clean copy of that theme for troubleshooting.

    @wpyogi, thank you for pointing that out. I have completely skipped that.

    well, I went to Started to watch the video on Child Themes and got completely freaked out. Had to close the window because I had no idea what they were talking about. I guess I’m stuck where I am until I learn more or get help. I tried to get tickets to WordCamp but didn’t realize how fast they sold out.

    Thanks for your thoughts and help.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Too many search boxes’ is closed to new replies.