Forums Forums Search & Filter Pro Custom Post Types & ACF

Tagged: 

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

    Hi there,

    I just purchased the plugin and I am now trying to get it to work properly, but can’t find any good documentation regarding CPT’s and ACF.

    Here is what I am trying to achieve:
    I’ve got around 5 custom post types, all with their own ACF fields. I want to create filters on the archive pages and within certain pages, to browse through these custom post types. How would I start at this?

    I tried creating a search form and made it to search in a specific post type. I added a post meta, went for choice and for meta key selected one of the acf fields. I added the shortcode inside a page, but when I select any, it says; no results have been found.
    Also at ‘posts’-tab I selected ‘published’, but in the dropdown it shows all of the choices instead of just the published ones.

    Would love to get some proper help on setting this up!

    Trevor
    #220496
    This reply has been marked as private.
    Anonymous
    #221127
    This reply has been marked as private.
    Trevor
    #221199
    This reply has been marked as private.
    Anonymous
    #221209
    This reply has been marked as private.
    Trevor
    #221253

    OK, I think this may be the problem:

    https://www.screencast.com/t/7pHmcfwv

    It is what we call an incomplete filter condition, in that, with an empty condition field, it can never be satisfied, leading to no results.

    Click the ‘remove’ link and save the form and try that.

    Anonymous
    #221898
    This reply has been marked as private.
    Trevor
    #221992

    Taking these points in turn:

    #1 The page layout is (or should be) handled by your theme of page builder plugin/function. Most themes allow you to enable a sidebar for the page, into which you can add widgets (such as our form).

    #2 You can customise the result.php file, where that text is to be found. See here for how:

    https://searchandfilter.com/documentation/search-results/using-a-shortcode/#customising-the-results

    #3. Only one form per page (using Ajax) is possible, sorry. More flexibility will come in V3 (no ETA yet for that, sorry).

    Anonymous
    #222001
    This reply has been marked as private.
    Trevor
    #222005

    We will let all our users know. Thanks for getting back to me. I will close this thread for now.

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