Is it possible to pass variable to get_search_form()
?
I’m using it in two places: one in header and on the search page in the content. The latter must have additional class, e.g. search--full
. I’ve tried to use is_search()
but while it works well on other pages, on search page both forms have search--full
class.