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.

I have an existing WordPress search function, what I'd like to be able to do is extend the search to the tags from my custom taxonomy...how do I do that?

<form method="get" id="searchform" action="<?php echo home_url(); ?>">
    <input type="text" value="Product Search..." name="s" id="s" />
    <input type="image" src="<?php bloginfo('template_directory') ?>/images/icosearch.png" id="searchsubmit" value="" />
</form>

I tried to use the "Search Everything" plugin, but that functionality doesn't seem to extend to custom taxonomies. I'm not sure if there is a different plugin or some kind of filter that would get the job done.

Thanks in advance!
Josh

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

One plugin that I've used successfully is Relevanssi: http://wordpress.org/extend/plugins/relevanssi/

Also, you could try to make your custom taxonomy into a search filter, like it's described in this post: http://wordpress.org/support/topic/search-form-with-custom-taxonomy-dropdown . I've used this on my projects and it worked wonders!

Hope this helps!

share|improve this answer
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.