Archived

This topic is now archived and is closed to further replies.

  • 0

Search form

Question

Posted · Report post

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

8 answers to this question

Posted · Report post

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

Posted · Report post

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

Posted · Report post

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

Posted · Report post

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

Posted · Report post

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

Posted · Report post

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

Posted · Report post

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