annaA-2
In den letzten 30 Tagen erstellte Support-Threads: 0
Lieblings-Forenthemen
This user has no favorite topics.
Forum Topics Created
| Status | Thema | Supporter | Stimmen | Artikel | Aktualität |
|---|---|---|---|---|---|
|
Il backend wordpress è lento, server errore 502, CPU al 200%
Gestartet von: annaA-2 in: Toolset Professional Support |
|
1 | 7 | vor 3 months, 3 weeks | |
|
Add content to the actual page with frontend post form
Gestartet von: annaA-2
in: Toolset Professional Support
Problem: How to create a post form while the parent post is pre-selected. Solution: Use the "Use create Child Post Link" according to the documentation below. Relevant Documentation: |
|
2 | 6 | vor 3 years, 3 months | |
|
Ajax confict in a view woth search and pagination
Gestartet von: annaA-2 in: Toolset Professional Support |
|
2 | 4 | vor 3 years, 7 months | |
|
moderate_comments permission doesn't work
Gestartet von: annaA-2 in: Toolset Professional Support |
|
2 | 11 | vor 4 years, 3 months | |
|
Super user by frontend can't upload images by the form fields
Gestartet von: annaA-2 in: Toolset Professional Support |
|
2 | 10 | vor 4 years, 3 months | |
|
Column width does not change when I try to drag it with my mouse
Gestartet von: annaA-2 in: Toolset Professional Support |
|
3 | 11 | vor 4 years, 3 months | |
|
Hoc can I add OR condition in query filter search instead AND operator?
Gestartet von: annaA-2
in: Toolset Professional Support
Problem: The issue here is that the user wanted their custom query filter to function like an OR query instead of the default AND.. Solution: Previously you were allowed to change the field comparison logic from AND to OR and vice versa but it got broken somehow in a recent update. To work around this you're going to have to construct the query manually using the views hook. Add the following to your Toolset Custom Code section and it should help to resolve the issue. The Toolset custom codes can be found at Toolset -> Settings -> Custom Code
add_filter( 'wpv_filter_query', 'filter_by_multiple_fields', 10, 3 );
function filter_by_multiple_fields( $query, $settings, $view_id ) {
if ( $view_id == 1234) {
$query['meta_query'] = array(
'relation' => 'OR',
array(
'key' => 'color',
'value' => '1',
'compare' => '=',
),
array(
'key' => 'price',
'value' => '1',
'compare' => '=',
),
);
}
return $query;
}
Now replace the 1234 with the ID of your view and then replace color and price with the slugs of the field that you are doing the query on. Remember to add the wpcf- prefix to the types custom fields slugs. |
|
2 | 3 | vor 4 years, 11 months | |
|
I can't add custom field
1
2
Gestartet von: annaA-2 in: Toolset Professional Support |
|
3 | 16 | vor 4 years, 12 months | |
|
content selection and query filter don't work in a view
Gestartet von: annaA-2 in: Toolset Professional Support |
1 | 2 | vor 4 years, 12 months | ||
|
missing strings translations after update
Gestartet von: annaA-2 in: Toolset Professional Support |
|
2 | 7 | vor 5 years, 1 month |