Home › Forums › Other › WordPress Search › Re: WordPress Search
August 24, 2012 at 11:39 pm
#108435
Member
If you are saying what I think you are, you should try this out:
"' . get_search_query() . '"' ); ?>
This will add quotes before and after the term, but obviously if you want to get rid of those, or switch the span to something else, you are free to do so.
Edit: An easier way of doing the same thing is echoing
get_search_query()