Forums Forums Search & Filter Pro Searching Advanced Custom Fields

Tagged: 

Viewing 10 posts - 1 through 10 (of 10 total)
  • Anonymous
    #267172

    I’m looking to create something similar to the demo. I want to search ACF content (http://www.alchemy2.apixelabove.com/alc-properties/availabilities/) I’m having an issue with seeing how to create the dropdowns, etc.

    Thanks

    Trevor
    #267229

    You should be able to access and search ACF fields, yes. They are Post Meta field objects in the Form UI. To make Dropdown selects, use the ‘Choice’ option/tab in the field settings.

    Note that, with fields made by ACF, when selecting the meta key, note a ‘gotcha’ with ACF ….

    … it makes 3 meta keys per field, like this (in this example for a field named ‘land’):

    #1 _land
    #2 field_52f0fc4334f52
    #3 land

    In our Meta Key selection list, you need to use key #3, without the underscore at the start of the key name. If you choose #1 by mistake, in the field choices you will see the name of #2.

    The fields will only show in the list if you have actually entered data in those fields inside posts and saved them. To define them alone without doing that, they will not show up, as our plugin does not look at the Field Group definitions, but at the actual data stored in the Post Meta table.

    Anonymous
    #267311

    This helps a lot, thanks. I have another question. For results how can I get the plugin to update by current page, ie like the demo? Right now I’m pulling out all the post data and displaying it in a table.

    (http://www.alchemy2.apixelabove.com/alc-properties/availabilities/)

    Thanks for all your help

    Trevor
    #267398

    It rather depends on how that table is made, as to whether ajax is possible.

    Anonymous
    #267453

    Is there a way to format the results on a designated results page? I’d like to format them in the same format as the page the search form is on.

    http://www.alchemy2.apixelabove.com/alc-properties/availabilities/

    Trevor
    #267633
    This reply has been marked as private.
    Anonymous
    #267647
    This reply has been marked as private.
    Trevor
    #267803
    This reply has been marked as private.
    Anonymous
    #268127

    Thank you so much for all your help. I have it all sorted out it’s working great. I will definitely use this plugin next time I need to search ACF data.

    Trevor
    #268129

    Thanks for letting me know. I will close this thread for now.

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