andreaP-10
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 can't show the map when I add a custom post type with address custom field
Started by: andreaP-10 in: Toolset Professional Support |
|
2 | 3 |
4 years, 7 months ago
- |
|
|
Do in a view can I use filter #1 OR filter #2 instead filter# AND filter #2?
Started by: andreaP-10
in: Toolset Professional Support
Problem: Solution: [php]
add_filter( 'wpv_filter_query', 'func_change_filter_relation', 10, 3 );
function func_change_filter_relation( $query_args , $view_settings, $view_id ) {
if ($view_id==1234) {
if ( isset( $query_args['meta_query']['relation'] ) ) {
$query_args['meta_query']['relation'] = "OR";
}
}
return $query_args;
}
[/php]
Relevant Documentation: |
|
2 | 7 |
4 years, 11 months ago
- |