annaA-2
Admite hilos creados en los últimos 30 días: 0
Debates favoritos del foro
Este usuario no tiene debates favoritos.
Temas del foro creados
| Status | Debate | Supporter | Voces | Mensajes | Caducidad |
|---|---|---|---|---|---|
|
Il backend wordpress è lento, server errore 502, CPU al 200%
Iniciado por: annaA-2 en: Toolset Professional Support |
|
1 | 7 | 3 months, 3 weeks ago | |
|
Add content to the actual page with frontend post form
Iniciado por: annaA-2
en: 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 | 3 years, 3 months ago | |
|
Ajax confict in a view woth search and pagination
Iniciado por: annaA-2 en: Toolset Professional Support |
|
2 | 4 | 3 years, 7 months ago | |
|
moderate_comments permission doesn't work
Iniciado por: annaA-2 en: Toolset Professional Support |
|
2 | 11 | 4 years, 3 months ago | |
|
Super user by frontend can't upload images by the form fields
Iniciado por: annaA-2 en: Toolset Professional Support |
|
2 | 10 | 4 years, 3 months ago | |
|
Column width does not change when I try to drag it with my mouse
Iniciado por: annaA-2 en: Toolset Professional Support |
|
3 | 11 | 4 years, 3 months ago | |
|
Hoc can I add OR condition in query filter search instead AND operator?
Iniciado por: annaA-2
en: 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 | 4 years, 11 months ago | |
|
I can't add custom field
1
2
Iniciado por: annaA-2 en: Toolset Professional Support |
|
3 | 16 | 4 years, 12 months ago | |
|
content selection and query filter don't work in a view
Iniciado por: annaA-2 en: Toolset Professional Support |
1 | 2 | 4 years, 12 months ago | ||
|
missing strings translations after update
Iniciado por: annaA-2 en: Toolset Professional Support |
|
2 | 7 | 5 years, 1 month ago |