WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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 want to create a custom post type with fields: Text1, text2 and text3.

I want to make this custom post type searchable.

But searchable fields will only be Text1, and text2.

Is this possible?


share|improve this question

With WP's default search - no.

But you can with this plugin. Select "Lucene" or "Mysql Fulltext" (Zend Lucene is a little faster) as the search engine, check the "post meta" module and select the meta fields you want to search in the module settings. Then re-index

You'll also have to edit the models/spider.php from the plugin dir to include custom post types - Search for instances of {$wpdb->posts}.post_type and add the appropriate custom post type slug there...

share|improve this answer
great, I ll try search unleashed. – p.a. Sep 7 '11 at 14:16

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.