Do "search input" search by post-meta

Forums › Forums › Search & Filter Pro › Do "search input" search by post-meta

Viewing 10 posts – 1 through 10 (of 12 total)
  • Anonymous
    #54172

    Hello, is there any way to make the search input also search by post-meta??

    Thanks in advance.

    Trevor
    #54177

    Yes. You need to install the free plugin called Relevanssi and in the S&F Pro form Advanced tab enable support for it. In the Relevanssi settings there is a single setting field for custom meta fields, where you need to enter the value all and then build the index.

    Anonymous
    #54231

    Hey Trevor, just out of curiosity, where are the Relevanssi settings located? I can’t seem to find it. (no tab for it like normal plugins)

    Also, let’s say I wanted to have a search field for FIRST NAMES (a custom-field key) and a search field for LAST NAMES (another custom-field key). Is this possible?

    Sorry to hijack this thread…not sure if that’s okay or not. My apologies if not.

    Trevor
    #54252

    Hi Matt

    Have you installed relevanssi? The settings will be in the admin side menu under settings.

    And yes to the other question. Use ACF to add fields.

    Anonymous
    #54293

    Ok, I found the setings – thanks much!

    Also, just to clarify, I still want the results of these searches to appear in the results.php page. Will ACF work well with S&F? I’m not familiar with that plugin.

    Trevor
    #54295

    ACF works very well with our plugin. On the ACF website are a lot of examples on how to output the field values.

    Anonymous
    #54296

    I will check it out. Thanks for your help Trevor!

    Anonymous
    #54427

    I tried installing the relevanssi plugin, but i cant see the option to add the post-meta :(, only post types and taxonomies.

    Trevor
    #54429

    Look for this option: Custom fields to index

    Anonymous
    #54458

    Worked like a charm! thank you very much Trevor 😀

Viewing 10 posts – 1 through 10 (of 12 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.