Search box – multiple fields?

Forums › Forums › Search & Filter Pro › Search box – multiple fields?

Viewing 2 posts – 1 through 2 (of 2 total)
  • Anonymous
    #1453

    Right now my search form is just a search box and a submit button. I want to have the form search some custom fields and custom taxonomies using only the search box, so no dropdown/checkbox/etc. Right now I have a function that puts all the content I want to search into post_content (since I don’t display that field on my site), but is there a better way to do this?

    Ross Moderator
    #1454

    Hey there

    The search box only searches titles & post_content, then you use the filters to refine the areas you are looking in.

    I’ve been thinking on adding something like this in, but that would be a lot of work and I would probably have to set up caching of all your posts & pages to do this..

    You could use a plugin like Relevanssi in conjunction with this plugin – this kind of plugin (which you probably know) powers the search box itself, and allows you to search taxonomy terms using only the search box (I’m not sure about custom fields)…

    Hope that helps..!

Viewing 2 posts – 1 through 2 (of 2 total)

Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.