Forums Forums Search & Filter Pro Not getting acf post meta working

Tagged: ,

Viewing 8 posts - 1 through 8 (of 8 total)
  • Anonymous
    #145052

    Hey guys,

    unfortunatelly I dont get s&f running with acf data.

    I do have a portfolio with items having a room size (number). Now I want to make an filter where it says only show rooms between X and Y m². I get the mounts beeing displayed as drop down (for test purpose – should be slider afterwards) but when I filter, it is beeing ignored.

    So i tried to look if the ajax container is wrong and testet it with taxanomy categorie – where it is working…

    It would be awesome if you could have a look if i missconfigures somewhere… or is there an extra documentation for post meta/ACF I didn’t find?

    Cheers Andy

    Anonymous
    #145054
    This reply has been marked as private.
    Trevor
    #145059

    I am looking at the test page and It shows only one post, with a simple form to the side with two values, both showing count of 1.

    Can you describe what I should do, in steps, to see the problem?

    Anonymous
    #145096

    Hey Trevor,

    the data is “just dummy data”. I want to filter them… so if the one is checked the other one should disapear… one hast the first and otherone has the 2nd value…
    but therefore the filter is not filtering…

    so steps would be:

    if one of the elements is checked – the other one should disapear

    Trevor
    #145099

    Ah, OK.

    Make sure that Maintain Search Form State is set to OFF (unless you need it on)
    Set Auto Count (both settings) to ON
    In each field set Hide Empty to ON

    Anonymous
    #145265
    This reply has been marked as private.
    Trevor
    #145303
    This reply has been marked as private.
    Trevor
    #145421

    OK. So, you were using the Enfold theme, and the simple integration is to:

    #1 Make a real WordPress page for your results.
    #2 Use the Page Builder in Enfold to add a blog, or portfolio or whatever to display results
    #3 Create the Search & Filter form. Set it to the Custom display results method.
    #4 Set the Results URL to the same as the page you made.
    #5 The Ajax Container will also need setting to the container for the content element you added above. You will need to find this by inspecting the page HTML, for example, for a portfolio element this would be .grid-sort-container and for a Posts container it would be .template-blog
    #6 Add the search form to the page where you need it
    #7 Add a text block directly before the content element and add a shortcode to it like this (change 1428 for the ID number of your form):
    [searchandfilter id="1428" action="filter_next_query"]

Viewing 8 posts - 1 through 8 (of 8 total)