Forums › Forums › Search & Filter Pro › Use Advanced Custom Field for search filter and fomatting question
- This topic has 4 replies, 2 voices, and was last updated 7 years ago by Anonymous.
-
Anonymous(Private) November 2, 2017 at 12:27 pm #139830
Hi Trevor! You are the best!
Can I use an ACF as a filter in the Search Form UI? There are options for Category, Post Date, Post Type, but I don’t see a way to add a ACF to the search.
Also, is there CSS that could put the search field name inline with the checkboxes? IE, look like
Category ___ Biology ____ Physics ____ Botony
Instead of
Category
___ Biology ____ Physics ____ BotonyThank you for your time!
CarolTrevor(Private) November 2, 2017 at 12:44 pm #139835ACF Fields (all custom fields) are called Post Meta. In the form field settings, make sure you tick the box to say it is an ACF field, and make sure that the meta key you select does NOT start with an underscore (applies to ACF only; there will be another meta key with the same name without the underscore).
Anonymous(Private) November 2, 2017 at 6:09 pm #139913Trevor,
You are the best! That works great!
Do you have an idea for the second question? How can I change the CSS so the label displays on the same line as the check boxes? Any ideas for getting rid of the white space on this page, so so the first row of posts are visible?
http://www.stemxstory.com/science/
Thank you so much for your time!
Carol
-
AuthorPosts