WordPress.org

Support

Support » How-To and Troubleshooting » Removing Search Boxes

Removing Search Boxes

  • God, I’m such a newb, but my lack of experience with php is killing me (years ago I learned to write html on a webtv box and now use dw8. LOL!) and I really need some help with WordPress.
    My problem is (I’m using the Travelogue theme) I just can’t figure out how to remove the site search boxes that live just below the header img. They are an annoyance because the name of the page is so long that when compressed the “search” button moves down to mingle with other page elements. Pretty ugly.
    I’m not looking for a full blown lesson in php or WordPress (although I sure could use it!) but I would really really appreciate a quick “how to” to get me movin’. Just point me to what file should be edited to lose ’em and I’ll go (and learn) from there.
    Newb, I know… but I’m stuck.
    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • thornomad
    Member

    @thornomad

    If you post a link to your site, that might help with more specific questions … but, as it is, you can edit your template file and comment out (add: <!-- and then -->) the code for the search box … however, you are going to have to know enough about HTML to recognize the search form in the code and know what to comment out.

    Also, depending on how the theme is designed, it may influence the look of the theme as well.

    thornomad
    Thank you, sir for that… that was fast!

    I do understand html fairly well… and I’ve searched the files, but I’m not sure what to alter… the CSS?
    Thanks for helping such a greener.

    Which Travelogue – 1 or 2? 1’s the only one I have handy….

    Look for this code in header.php:

    <div id="subheader">
    <div id="search"><?php include (TEMPLATEPATH . '/searchform.php'); ?></div>
    <div id="cats"><?php include (TEMPLATEPATH . '/dropdowncats.php'); ?></div>
    </div>

    Make it look like this:

    <div id="subheader">
    <div id="cats"><?php include (TEMPLATEPATH . '/dropdowncats.php'); ?></div>
    </div>

    See if that helps.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Removing Search Boxes’ is closed to new replies.