Support Forums

The forums are closed and will be removed when we launch our new site.

Looking for support? You can access the support system via your account.

Forums Forums Search & Filter Pro post meta key with ACF and CPTUI

Viewing 10 posts - 1 through 10 (of 24 total)
  • Rami ABBOUDI
    #274421

    Hello,

    I want to create a post meta key so that i can add a range slider price.
    Could you explain me how to do that with ACF and CPTUI so that it work’s with S&F ?

    Trevor Moderator
    #274510

    Make a new ACF Field Group (or edit an existing one) and add a suitably named number field:

    https://www.screencast.com/t/yAx7H2x9OlVt

    Assign that group to your custom post type:

    https://www.screencast.com/t/kTH6PmMjypu

    Then add some prices to some posts (see a note abut his later in this reply).

    ACF fields are Post Meta field objects in the Form UI.

    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.

    Rami ABBOUDI
    #274544

    Hello,

    Thank’s for you respond.
    But i don’t get any choise, i have only the #2 that’s coming and i can’t select the #2 field in the search and filter form because it is not coming too. I did add some slug in posts but still not working…
    Could you have a look ?

    Rami ABBOUDI
    #274546
    This reply has been marked as private.
    Rami ABBOUDI
    #274645

    Hello, have you been able to have a look on my problem ?

    Trevor Moderator
    #274647
    This reply has been marked as private.
    Rami ABBOUDI
    #274654

    Okey no problem, i’ll wait. Enjoy your week end 🙂

    Trevor Moderator
    #274853
    This reply has been marked as private.
    Rami ABBOUDI
    #274879
    This reply has been marked as private.
    Trevor Moderator
    #275020
    This reply has been marked as private.
Viewing 10 posts - 1 through 10 (of 24 total)

The topic ‘post meta key with ACF and CPTUI’ is closed to new replies.