The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other WordPress Search Re: WordPress Search


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