Support

Account

Home Forums ACF PRO Filter customs posts with relationships Reply To: Filter customs posts with relationships

  • Hello John and thank you for your return, it helped me!

    I have one last question regarding the sorting of my contents.

    So I have a Field group called ‘Clients’.
    In this field group, I find:
    ‘Status’ which are checkboxes
    ‘Types’ which is a select with different choices.

    In my template archive-clients.php, I set up a sorting system that lists all possible ‘Status’ and ‘Types’.

    When I click on one of the ‘Status’ checkboxes, it filters my clients with the selected status, with this url:
    mywebsite.com/clients/?clients_status=Active

    It works!

    But when I try to filter by ‘Types’ with the same type of url, it does not work.

    Example:
    mywebsite.com/clients/?clients_clienttype=b2b2c

    The URL must be different for data with checkboxes and a select?

    Thank you in advance !