Tell me more ×
WordPress Answers is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Hi All I visited a website which has a Multiple Drop-Down custom taxonomies search ;besides,I know this is not a WP website. But I am interested to know how I can have a Multiple Drop-Down custom taxonomies search in Wordpress. Till now I couldn't find any thing helpful. Can you please let me know if you know any thing about that? This is the website I mentioned: http://www.tirerack.com/tires/index.jsp?camefrom=&fromIndex=true&index=xx

share|improve this question

1 Answer

use wordpress Custom fields search plugin / widget. Its no longer supported but really easy to convert to search custom taxonomies buy changing one line of code in the plugin..

open up the plugin folder and find the file named:

extra_search_fields.php

around line 292 look for

$where.= " AND ($wpdb->posts.post_type='post')";

and change it too

$where.= " AND ($wpdb->posts.post_type='NAME OF YOUR CUSTOM POST TYPE')";

and around line 676 look for

return $this->param('taxonomy','category');

and change that too

return $this->param('taxonomy','NAME OF YOUR TAXONOMY');

hope this helps...

share|improve this answer

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.