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 want to make the default WordPress behave better. For instance, if I add categories such as: "best products", "good products" and more then the search should be able to account for those and return them higher in the results.

I know there are some plugins which can improve the search query like to be able to search through tags, custom taxonomies like "Search everything".

In short what I need is to be able to get tags from custom post types or blog posts to act like categories for the search form, perhaps an advanced search with a drop down list with some tags.

Do you know a plugin which can help me do this?

share|improve this question

migrated from webmasters.stackexchange.com Jan 11 '13 at 15:47

This question came from our site for pro webmasters.

1 Answer 1

up vote 2 down vote accepted

You are really asking two questions: "How do I make the internal search work better?" and "How do I change the search form to give it more advanced functionality?"

To change the behavior of the search I would say Relevanssi is the best plugin if you are trying to improve the "native" WordPress search behavior. The free version does pretty much everything you ask while the paid versions do that and a lot more.

The alternative to using Relevanssi to fix the WordPress search is to dump it altogether in favor of Google Custom Search for WordPress. Assuming you are using an SEO plugin to create a sitemap (and if not, you should be!) then you can control the category and tag archives for all post types and give priorities. An added benefit of switching to Google is that it can also spider any PDFs you may have whereas Relevanssi cannot.

Either of the above will give you more flexibility and control over searches on your site and may solve the issue.

However, if you want to change the behavior of the search and combine that with an advanced form then my recommendation would be to look at Pippin's Advanced Search Shortcode plugin as it allows you to generate both an advanced form with inclusion/exclusion parameters and modifies the search to support that. Not a free plugin but also not very expensive and Pippin does quality work.

I tend to prefer a simple keyword search over having to puzzle through a form with multiple checkboxes, drop downs, etc. The more I have to fiddle with a form to find something that should be 5-10 keystrokes and a click, the more likely I am to try another site.

share|improve this answer
    
First of all thanks for your detailed answer. –  agis Jan 12 '13 at 23:50
    
@Alecs You're welcome. –  JCL1178 Jan 12 '13 at 23:58
    
I think Pippin's plugin is exactly what I need, because I want to have something like this : 3 drop-down lists like "property type" , " Price Range" , " bedrooms number" and search through this filters because I can put tags in the drop-down lists –  agis Jan 13 '13 at 2:05

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.