Pat
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 |
---|---|---|---|---|---|
How to list post based on non custom field
Iniciado por: Pat
en: Toolset Professional Support
Problem: The issue here is that the user wanted to list out all their posts that do not have a specific custom field. Solution: Unfortunately this isn't possible to do through the use of the User interface and as such a custom filter is required. The code below should be able to resolve this. add_filter( 'wpv_filter_query', 'display_not_exist_posts', 99, 3 ); function display_not_exist_posts( $query_args, $view_settings, $views_id ) { if ( $views_id == 123 ) { // if it is specific view and by default $query_args['meta_query'][] = array( 'key' => 'wpcf-customfieldslug', 'compare' => 'NOT EXISTS', ); } return $query_args; } Add this code to the Toolset custom code section in Toolset->Settings->Custom code and activate it. Change 123 to the ID of your view and wpcf-customfeldslug to the slug of your custom field keeping the wpcf- slug |
|
2 | 3 | hace 4 años, 10 meses | |
Wordfence showing warning about Toolset Forms Commerce
Iniciado por: Pat en: Chat Support |
|
1 | 2 |
hace 4 años, 10 meses
|
|
User registration form does not accept specific domain name
Iniciado por: Pat
en: Toolset Professional Support
Problem: The issue here is that a specific email address isn't being validated while the other is when registering with a Toolset Form.. Example titi@cannesu.fr and titi@cannes.fr Solution: In order for the email to be valid the domain must also be valid. Toolset validation also checks to see if the email domain is valid. If it isn't then the verification of the email will fail. |
|
2 | 7 | hace 4 años, 10 meses | |
Another issue with Views used as a select in a Forms
Iniciado por: Pat en: Toolset Professional Support |
|
2 | 5 | hace 4 años, 10 meses | |
Hook for adding a custom field in WC email
Iniciado por: Pat en: Toolset Professional Support |
|
2 | 8 | hace 4 años, 10 meses | |
Unable to retrieve postmeta
Iniciado por: Pat en: Toolset Professional Support |
|
2 | 3 | hace 4 años, 11 meses |