Problem: I have a custom search View that allows Users to filter by taxonomy term using a front-end filter and URL parameter. If I link to the page with a URL parameter already added in the URL, the results load as expected. However, the User is not able to change the query to filter by a different term. The filter is not applied and the URL does not change.
Solution: Since it is possible to apply multiple terms from a taxonomy, the URL parameter syntax is a bit different. You should use brackets in the URL parameter syntax to indicate more than one value is possible. The HTML entities for brackets are %5B%5D, so the new URL will be:
https://your-site.fr/custom-search-page/?wpv-genre-musical%5B%5D=jazz
Without the brackets, the custom search feature will not work as expected.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | - | - |
13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | - | - |
Supporter timezone: America/New_York (GMT-04:00)
This topic contains 2 replies, has 2 voices.
Last updated by 5 years, 1 month ago.
Assisted by: Christian Cox.