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.

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
add comment

1 Answer

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
add comment

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.