WordPress.org

Ready to get started?Download WordPress

Forums

Busiprof
[resolved] hide search (3 posts)

  1. drejko
    Member
    Posted 7 months ago #

    Hi,

    how can I hide search bar on pages?

    thanks

  2. drejko
    Member
    Posted 7 months ago #

    Hi,

    I found it. It is in the banner-header.php. I hid the code by comment and the search bar disappeared from page.
    Did i do it correctly:

    "
    <!--<form method="get" id="searchform" action="<?php echo esc_url( home_url( '/' ) ); ?>">
    <div class="input-append search_head pull-right">
    <input type="text"name="s" placeholder=<?php _e( 'Search', 'busi_prof' ); ?> class="search_input" id="appendedInputButton">
    </div>
    </form>-->
    "

  3. Hari Maliya
    Member
    Posted 6 months ago #

    Hi Drejko,

    Yes, your doing work is correct.
    Your commented code hide a search form in banner-header.

    Thanks
    -Hari maliya

Reply

You must log in to post.

About this Theme

About this Topic

Tags