Forums Forums Search & Filter Pro Use Advanced Custom Field for search filter and fomatting question

Tagged: ,

  • This topic has 4 replies, 2 voices, and was last updated 7 years ago by Anonymous.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Anonymous
    #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 ____ Botony

    Thank you for your time!
    Carol

    Trevor
    #139835

    ACF 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
    #139913

    Trevor,

    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

    Trevor
    #139921

    Hi Carol

    I am not sure what you mean. Can you make a screenshot, annotate it, and upload it to a file sharing site and give me the link to see it?

    Anonymous
    #139954

    Trevor,

    Thanks for your reply. I found another way to do it. Thanks for your help!

    Carol

Viewing 5 posts - 1 through 5 (of 5 total)