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 change the «chose and option» text in WC
Iniciado por: Pat
en: Toolset Professional Support
Problem: Solution: |
2 | 3 | hace 7 años, 1 mes | ||
Modify the image orientation in Cred frontend form
Iniciado por: Pat en: Toolset Professional Support |
2 | 4 | hace 7 años, 1 mes | ||
Display SKU for variable products
Iniciado por: Pat
en: Toolset Professional Support
Problem: Solution: You can find the proposed solution with the following reply: Relevant Documentation: |
2 | 7 | hace 7 años, 1 mes | ||
User Views sorting with user_name
Iniciado por: Pat
en: Toolset Professional Support
Problem: Solution: add_filter( 'wpv_filter_user_query', 'sort_by_lastname_func', 100, 3 ); function sort_by_lastname_func( $query_args, $view_settings, $view_id ) { if ($view_id == 577) { $query_args['meta_key'] = 'last_name'; $query_args['orderby'] = 'meta_value'; $query_args['order'] = 'ASC'; } return $query_args; } ==> You can replace 'last_name' with the custom field you want to use for sorting (firstname, etc) -- line #5 in the above code. Relevant Documentation: |
2 | 7 | hace 7 años, 2 meses | ||
Cred user field not required
Iniciado por: Pat
en: Toolset Professional Support
Problem: Solution: add_filter('cred_filter_field_before_add_to_form', 'required_fields_func', 10, 2); function required_fields_func($field, $computed_values){ if(in_array($field['id'], array('last_name', 'adresse'))){ $field['data']['validate']['required'] = array ( 'active' => 1, 'value' => 1, 'message' => 'This field is required.' ) ; } return $field; } ==> Make sure to replace 'last_name', 'adresse' with your field slugs on line #3 2. OR If you want to have JS validation, you can use this (modification will be needed): |
2 | 11 | hace 7 años, 2 meses | ||
Condition display depending of the day of the week
Iniciado por: Pat
en: Toolset Professional Support
Problem: Solution: Relevant Documentation: |
2 | 3 | hace 7 años, 2 meses | ||
Modify the image orientation in Cred frontend form – relaunch
Iniciado por: Pat en: Toolset Professional Support |
2 | 2 | hace 7 años, 2 meses | ||
Map with the whole selected products
Iniciado por: Pat en: Toolset Professional Support |
2 | 6 | hace 7 años, 3 meses |