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

Is it possible to search in custom post type meta fields? I have posts, with many custom meta fields. Wordpress by default search only in title and in content. How can I change it?

If you didn't understand what I am saying, please take a look at my screenshot.

share|improve this question
up vote 3 down vote accepted

Take a look at my answer to how to filter post listing (in WP dashboard posts listing) using a custom field (search functionality) ?

Its just what you are looking for.

share|improve this answer
Is it possible to just show specific custom fields? Take a look at the image - dl.dropbox.com/u/8228019/custom.PNG – Kaspars Jul 18 '11 at 15:51
Yep just change the the options of the dropdown and set them manually – Bainternet Jul 18 '11 at 21:04

Your Answer


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.