Forums › Forums › Search & Filter Pro › How to add custom fields of custom taxonomy to search form?
Tagged: acf, custom field, custom taxonomy
- This topic has 12 replies, 2 voices, and was last updated 4 years, 4 months ago by Ross.
-
Anonymous(Private) July 11, 2020 at 2:24 am #252488
I have a custom taxonomy called restaurants_all. I can easily create a dropdown for all the restaurants_all item “Name”. That’s easy to do.
But within the restaurants_all I have multiple custom fields (with ACF) such as location_city, location_postalcode, cuisine_type, etc. I also want to create dropdowns in the search form for each of these custom fields… how can I do this so they are added to the form?
Anonymous(Private) July 11, 2020 at 11:05 am #252489I want to search like this does it: https://searchwp.com/search-acf-advanced-custom-fields-data-in-wordpress/
Ross Moderator(Private) July 13, 2020 at 10:27 am #252548Hi there
To create a filter for an ACF field, you need to use a
Post Meta
field in our search form – it should be possible.Take a look, and if you can’t see it, please provide temporary access so I can look for you.
Best
Anonymous(Private) July 13, 2020 at 10:42 am #252555Thanks for your help. I’ve looked at that Post meta multiple times over the past week, but I cannot find any meta keys for any of the custom taxonomies I created when I use the dropdown to search for the meta key… I will pass you access details soon so you can check too. many thanks!
-
AuthorPosts