• Using Twenty Eleven 1.3.

    It used to be as simple as sticking an empty text widget into the main side bar.

    Doesn’t seem to work anymore. If someone has a nice simple fix i would be very grateful.

    Thanks in advance.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Do you want to edit the text inside the search box?
    Probably you’ll find it in your searchform.php

    Thread Starter mattkerr

    (@mattkerr)

    Nope. I want to completely remove it from the top menu bar.

    https://adancewithdragons.com is the site

    I can’t see your site.
    By the way you can delete the PHP call

    <?php get_search_form(); ?>

    Probably in your header.php or elsewhere ??

    Thread Starter mattkerr

    (@mattkerr)

    sorry my bad ?? it’s .biz

    Thread Starter mattkerr

    (@mattkerr)

    There are two occasions which it appears in the header php

    Just delete both of them completely?

    Thread Starter mattkerr

    (@mattkerr)

    I removed them and it does get rid of the box visually but does not free up the space. Any ideas how i would take it that one step further?

    Below is the code i found it in as it was originally. I removed the two ***<?php get_search_form(); ?>***

    ***********************
    ?>
    <div class=”only-search<?php if ( ! empty( $header_image ) ) : ?> with-image<?php endif; ?>”>
    <?php get_search_form(); ?>
    </div>
    <?php
    else :
    ?>
    <?php get_search_form(); ?>
    <?php endif; ?>

    <nav id=”access” role=”navigation”>
    <h3 class=”assistive-text”><?php _e( ‘Main menu’, ‘twentyeleven’ ); ?></h3>

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How Do I Get Rid Of The "Search" Box in’ is closed to new replies.