Adding a search form inside a div

The get_search_form() echos so it will always show up before returns. Use:

get_search_form( false )

Leave a Comment