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 was trying to search entire Google, Yahoo and Bing, but also can't get the answer i want. That is why i am here to ask for help.

Now, i make searches on my website, the results are returned from Title and Content. Is it possible to get it return from Tags only(without plugin if possible)? Appreciate your help from everybody does. Thank you!

share|improve this question

marked as duplicate by toscho Nov 21 '12 at 2:54

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer 1

You can start with the Search Everything plugin and go from there. It won't exclude all post title and content, but it will enable searching in tags. Perhaps you can see how they accomplish it and modify from there. I imagine it will entail some direct SQL manipulation via the query filters posts_where, posts_join, posts_request, etc..

share|improve this answer
    
Thanks Milo for reply! But is there any other way we can do it with just in function file(php code)? –  Jornes Nov 21 '12 at 2:53

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