Forums › Forums › Search & Filter Pro › Are other fields than 'skills' possible under 'projects'?
Tagged: custom fields, projects
- This topic has 4 replies, 2 voices, and was last updated 5 years, 10 months ago by Trevor.
-
Anonymous(Private) February 15, 2019 at 2:20 pm #202425
Hi,
My theme dictates me to have all my ressources created as ‘projects’ (as opposed to posts, pages, products, etc.).The only field the ‘projects’ have to filter is the one called ‘skills’, which is already in use on my site.
So my question is: Is it possible to filter on other custom fields with Search&Filter Pro?
How do I add extra fields to the ‘projects’, so that Search&Filter Pro can filter them?Thank you in advance for specifying.
/MichaelTrevor(Private) February 15, 2019 at 5:33 pm #202462You would use a plugin, like Advanced Custom Fields (there is a free version). Create a Field Group, make some fields, assign that field group to that Projects. Edit some Projects, add some data to those fields. Edit your form, add some ‘Post Meta’ to the form, choose the Meta Key (ACF field names do NOT start with an underscore) and you should be good to go.
Trevor(Private) February 17, 2019 at 7:04 pm #202493Not knowing what exactly you wish to do, what type of fields you wish to filter, makes it hard to be specific. Yes, in general, our plugin allows you to filter on ACF fields (and custom fields made by WordPress and other plugins). Complex relational fields we do not support (such as the repeater or the map field in ACF), but we do support fields like the Post Object field, where our plugin will fetch the title of the Post Object and filter on that.
-
AuthorPosts