Forums › Forums › Search & Filter Pro › Not getting acf post meta working
- This topic has 7 replies, 2 voices, and was last updated 6 years, 11 months ago by Trevor.
-
Anonymous(Private) December 1, 2017 at 3:17 pm #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(Private) December 1, 2017 at 5:05 pm #145096Hey 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(Private) December 4, 2017 at 8:57 am #145421OK. 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"]
-
AuthorPosts