WordPress.org

Ready to get started?Download WordPress

Forums

How do I delete Search Bar in Snow Summit? (4 posts)

  1. ktchka
    Member
    Posted 2 years ago #

    Hey guys. please help me delete search bar in snow summit please.

    Thanks!

  2. ClaytonJames
    Member
    Posted 2 years ago #

    Open the /snow-summit/header.php file, and on lines 106-107 you will find this:

    <?php // The search bar under second custom navigation menu ?>
    	<div class="hsearch"><?php get_search_form(); ?></div>

    Try commenting out both lines and save the changes:

    <!-- <?php // The search bar under second custom navigation menu ?>
    	<div class="hsearch"><?php get_search_form(); ?></div> -->

    I think that should do it. You can remove the lines if you like, but just commenting them out makes it easier to fix if you change your mind later.

    Don't forget to backup your files before making any changes.

  3. ktchka
    Member
    Posted 2 years ago #

    Thank you Clayton!

  4. ClaytonJames
    Member
    Posted 2 years ago #

    You're welcome!

Topic Closed

This topic has been closed to new replies.

About this Topic