Jump to content
Sign in to follow this  
claudiomaria

Search form

Recommended Posts

claudiomaria    0
claudiomaria

Hello, is it possible to have the Search Form (in the Header) instead of the social icons or above them? This option could be very useful for those who need a long menu.

Share this post


Link to post
Share on other sites
cmunns    16
cmunns

The searchform is already in the header by default. on the same line as the navigation.

Share this post


Link to post
Share on other sites
claudiomaria    0
claudiomaria

Sorry, I mean if it is possible to display the search form above the menu line, where now the social icons are displayed.

Share this post


Link to post
Share on other sites
srosenquist    0
srosenquist

Try adding this code to the body - <?php include (THEME_LIB . '/_searchform.php'); ?> you may have to disable the built in search in any theme you may be using.

Share this post


Link to post
Share on other sites
bryan-hadaway    3
bryan-hadaway

Let's get a link, we would simply need to alter some CSS, we don't need to hard code anything. Thanks, Bryan

Share this post


Link to post
Share on other sites
claudiomaria    0
claudiomaria
Here it is the link (the site is still in construction). In practice we would like to take away the social icons and, in their place, having the search form. Thanks!!!

Share this post


Link to post
Share on other sites
cmunns    16
cmunns

Yes then what we'd want to do is use a hook. In the functions.php file of BASE put this code ` // add_action('hook_name','function name'); add_action('pagelines_before_branding_icons', 'searchbar'); // function name function searchbar(){ get_search_form(); } // end function ` Also you can delete the similarly placed code for the stumbleupon icon if you want to get rid of that.

Share this post


Link to post
Share on other sites
wairoa    0
wairoa

Is there any way I could do something just as simple to get a row of social icons "just like Claudio's" either next to, or below the search box in the EcoPro header?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×