Forums › Forums › Search & Filter Pro › Filtering result on the same page
Tagged: acf
- This topic has 27 replies, 2 voices, and was last updated 8 years, 3 months ago by
Trevor.
-
Anonymous(Private) July 19, 2017 at 3:16 pm #121518
Hi Trevor,
As an example the search is on the category pages → http://staging.elegant-entertainment.com/entertainers/african-entertainment/
If you say fields & field groups, isn’t that the basis of ACF? Our location is an ACF dropdown select?
Currently, if we search on, there are currently three CPT’s all (ACF fields are used to populate the CPT’s), with the location Gauteng, so I would expect to see all three if I filter on location, yet it redirects only to one..
Could you possibly point me in the right direction?
Kind regards
FrancoisTrevor(Private) July 19, 2017 at 3:21 pm #121521Normally, you would tick the boxes only of the Post Type, which I am guessing is Suppliers, which is what Interactive Gumboot Dancing is. The field group IS a Custom Post Type (the place where you define the fields), but they hold no data that you would want to search. The same applies to Fields.
So, your form setup should have only ‘Suppliers’ checked.
Anonymous(Private) July 19, 2017 at 3:27 pm #121523OK, that makes sense. Is this the reight instructions to get it to work (I’ve just now noticed the link, sorry):
https://support.searchandfilter.com/forums/topic/divi-blog-module-grid/#post-99184
Is there anything else that I need to get this to work?
Kind regards
FrancoisAnonymous(Private) July 19, 2017 at 3:56 pm #121539Hi Trevor,
I am a bit stumped here — I have now followed the instructions as per setting up the filtering in Divi.
ON this page (that I used in the custom template options) → http://staging.elegant-entertainment.com/entertainers/african-entertainment/ it appears to be working.
If I go to another category archive eg. http://staging.elegant-entertainment.com/entertainers/bands/and search on location I am redirected back to http://staging.elegant-entertainment.com/entertainers/african-entertainment/
This is one search form on all the category archive pages, I use one Divi template to display all the category archives.
Would it be possible for you to assist?
Just one more though — if there was more than one listing on that page with Gauteng as location, will I be redirected to an archive containing both? We do not necessarily need the ‘fancy ajax filtering’ if for location we are redirected to a page as with categories and tags it will also work.
What do you think will be the best approach here?
Kind regards
Francois -
AuthorPosts