Problem: I would like preselect a taxonomy term filter in a parametric search View, and I would like to place that View on a taxonomy term archive URL.
Solution: The only way to preselect an option in a parametric search form is to use a URL parameter like yoursite.com/custom-search-page/?wpvcategory=uncategorized. If you try to place this custom search View on a taxonomy archive like yoursite.com/category/uncategorized, the "uncategorized" term will not be preselected in the taxonomy filter. You could automatically redirect the User to /category/uncategorized?wpvcategory=uncategorized using custom code to preselect the filter.
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.
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 6 replies, has 2 voices.
Last updated by 6 years, 11 months ago.
Assisted by: Christian Cox.