Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I have a custom search where I want to enter a keyword or phrase into the search box, and then by pressing enter it adds it to a 'search storage' (already coded, see below). Asume I have 3 posts, one about cars, another and bikes and the final about planes. When this search is made I want all three to display in the results. Currently it would not find anything because there are no posts that contain car, bike and plane keywords individually.

Is it possible to display posts that match each of these keywords? Would I need to do a wp_query() for each keyword maybe, inside a foreach? Or is there a cleaner way?

screenshot

share|improve this question

1 Answer 1

With some customisation, I found that 'Looser Search plugin' made this possible.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.