Welcome! To use this support forum, please Login or Join Today!

   

Adding a Search Box to Header

{name}
Rank

Total Posts: 10

Joined 2011-07-26

PM

 

Hi…. I have just started finding my way around the synapse theme… good work !!

I would like to add a search box into the header… along side the logo but i cannot for life of me figure out how to do it…

Any help greatfully received

thanks

James

{name}
RankRankRankRank

Total Posts: 3667

Joined 2011-04-27

PM

 

Hi, please see this post for adding additional content to the header:
http://www.simplethemes.com/support/viewthread/945/#2804

To show the search form, just replace the st_header_extras() function mentioned in the post above to:

function st_header_extras() {
 $extras  = '<div id="header_extras">';
 $extras .= get_search_form(false);
 $extras .= '</div>';
 echo apply_filters ('st_header_extras',$extras);
}