Searching Custom fields not working

Forums › Forums › Search & Filter Pro › Searching Custom fields not working

Tagged: 

Viewing 3 posts – 1 through 3 (of 3 total)
  • Anonymous
    #103585

    Hello,
    I am using Searach and filter plugin on my website.
    I have created Custom fields type Date using ACF, and i created a search form and added my custom fields using post meta. But on the website it always giving me results not found although the conditions are all good and i have posts that match the selection.

    I want to mention that this problem is only about custom fields, because i tried with categories and it is working.

    Looking forward to hearing from you.

    Thank you

    Trevor
    #103600

    Check the names of the meta keys for the ACF fields. Make sure that they do NOT start with _ (the real key will be lower down the list).

    If you are searching using the text box, you will need to use the free Relevanssi plugin as well. See here.

    Anonymous
    #103616

    Thank you for your response,

    It’s was about the “_” in the meta keys.

    Now it’s working, thank you so much.

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