WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 was marked as an exact duplicate of an existing question.

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.