carlos-a-rojas-r-19180R
Support threads created in the last 30 days: 0
Favorite Forum Topics
This user has no favorite topics.
Forum Topics Created
Status | Topic | Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
I need help to make a custom filter
Started by: carlos-a-rojas-r-19180R
in: Toolset Professional Support
Problem: I'm looking at how to make this filter, will it be possible? Solution: There isn't such a built-in feature within Views plugin, it needs custom codes, for example, you can setup some dropdown menu manually as the screenshot you mentioned above, use them to pass URL parameter to your view, then use Views filter hook "wpv_filter_query" to trigger a PHP function https://toolset.com/documentation/programmer-reference/views-filters/#wpv_filter_query In this PHP function, get the URL parameters, change the views query to what you want according to the URL parameter values https://codex.wordpress.org/Class_Reference/WP_Query Relevant Documentation: https://toolset.com/documentation/programmer-reference/views-filters/#wpv_filter_query |
2 | 3 | 6 years, 4 months ago | ||
It´s possible create a select tag whit ranges of numbers for filter?
Started by: carlos-a-rojas-r-19180R in: Toolset Professional Support |
2 | 4 | 6 years, 4 months ago | ||
wpv-view with id post as parameter is possible?
Started by: carlos-a-rojas-r-19180R in: Types Community Support |
2 | 2 | 7 years, 5 months ago |