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 !
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.