Support » Fixing WordPress » How do I move the search bar?

  • Resolved TheHypnonaut


    I am setting up a new blog/site at I am hoping have the search bar show up on my home page and on the same line as the menu. Does that make sense? I am using the Target theme. Any and all help is greatly appreciated. Thanks!


Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Jan Dembowski


    Brute Squad and Volunteer Moderator

    Generically speaking:

    If you can modify the CSS using a tool such as Firebug and update your theme’s header.php file to include the search form, then you can position the search form pretty much anywhere you like.

    That may be more work than you wanted. 😉

    More specifically for that theme: as that’s a commercial theme you may want to ask at their support forum.

    We don’t support commercial themes here as we don’t have access to the theme files. Part of what you paid for was support from them when you purchased that theme.

    Thanks. First time wordpress user and I’m learning as I go along

    Did a quick poke around that target theme and I am thinking you are going to have to manually enter the “get search form” in the header file.

    You may have to finagle the CSS to get the theme’s searchform.php to dispaly properly in that top menu (that is where you want this, yes?)

    Basically you will open your site and go to the admin section, click on “Appearance >> Editor” and in there choose the “Header (header.php)” file.

    Scroll all the way to the bottom of that file and look for

    <!--menu end-->

    Insert the get_search_form function between the /div and menu end, so it now looks like:

    <?php get_search_form( $echo ); ?>
    <!--menu end-->

    That “should” get you closer to what you are looking to do.


    Or you can just do what Jan said 😉

    I went right to the WordPress theme repository, saw ‘target’ there and used that to look for an answer.

    Go figure!


    I’m enjoying the benefits of Firebug 🙂 Thanks James. That did position the search bar up there; although, for some reason it shows two search bars :/ I’m going to play around with the code a bit and do a good ol’ fashion trail and error.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How do I move the search bar?’ is closed to new replies.