Basic Search Box

  • John
    John
    Newbie 74 points
    September 5, 2013 at 9:47 pm

    How Would I include the Basic Search Box on every page, rather then just the home page. Im pretty sure you would have to include this code somewhere :

    <div class=”well” id=”BasicSearchBox”>
    <form method=”get” action=”‘.get_home_url().’/” class=”clearfix”>
    <div class=”span5″>
    <input type=”text” value=”” placeholder=”‘.$CORE->_e(array(‘homepage’,’6′)).'” class=”hsk” name=”s” />
    </div>
    <div class=”span7″>
    <select name=”cat”><option>’.$CORE->CategoryList(array(0,false,0,THEME_TAXONOMY)).'</option></select>
    <button class=”btn btn-primary”>’.$CORE->_e(array(‘button’,’11’)).'</button>
    </div>

  • Avishek
    Avishek
    Newbie 19 points
    September 6, 2013 at 5:52 am

    I would like to remove the search box from homepage but struggling to do so.
    You have any idea Alex?
    Thanks 🙂

  • F.C.A.
    F.C.A.
    Newbie 76 points
    January 17, 2014 at 12:37 pm

    Is there a solution to get the basic search on every page?

  • John
    John
    Newbie 74 points
    January 20, 2014 at 7:59 pm

    Nope, create a custom _header.php file and include the above code.

Viewing 4 posts - 1 through 4 (of 4 total)

New Business Themes for WordPress 2020

Start your new website today!

View Business Themes