PiotrO586
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 |
---|---|---|---|---|---|
Limit parent posts in Form select field to user’s own posts
Iniciado por: PiotrO586
en: Toolset Professional Support
Problem: Solution: |
2 | 3 | hace 6 años, 7 meses | ||
Require first and last name in a User Form
Iniciado por: PiotrO586
en: Toolset Professional Support
Problem: I would like to make the first_name and last_name fields required in a User (CRED) Form, and I would like to make the error message translatable. The code I have doesn't seem to be working. Solution: add_filter('cred_filter_field_before_add_to_form', 'required_user_fields_func', 10, 2); function required_user_fields_func($field, $computed_values){ if(in_array($field['id'], array('first_name', 'last_name'))){ $field['data'] = is_array($field['data']) ? $field['data'] : array(); $field['data']['validate']['required'] = array ( 'active' => 1, 'value' => 1, 'message' => __('This field is required', 'your-theme-context'); ); } return $field; } |
2 | 6 | hace 6 años, 7 meses | ||
Accordion and Forms
Iniciado por: PiotrO586
en: Toolset Professional Support
Problem: Solution: ( function( $ ) { $( document ).ready( function(){ let url = new URL(location.href); let success = url.searchParams.get("_success_message"); if ( success ) { $(".panel-group .panel:nth-child(2) a").click(); } }); })( jQuery ); |
2 | 5 | hace 6 años, 7 meses | ||
Numeric field updown buttons
Iniciado por: PiotrO586 en: Toolset Professional Support |
2 | 3 | hace 6 años, 7 meses | ||
Archive to show only posts having parents – Types 3.0
Iniciado por: PiotrO586 en: Toolset Professional Support |
2 | 5 | hace 6 años, 7 meses | ||
Check if parent post exists
Iniciado por: PiotrO586
en: Toolset Professional Support
Problem: Solution: For example: [wpv-conditional if="( '[wpv-post-id item="@relationship-slug.parent"]' ne '' )"] parent exists [/wpv-conditional] You can find proposed solution, in this case, with the following reply: Relevant Documentation: |
2 | 8 | hace 6 años, 7 meses | ||
Hyperlinking repeatable fields in a carousel
Iniciado por: PiotrO586
en: Toolset Professional Support
Problem: Solution: You can find proposed solution, in this case, with the following reply: Relevant Documentation: |
2 | 5 | hace 6 años, 7 meses | ||
Add/edit multilingual content using CRED forms
Iniciado por: PiotrO586
en: Toolset Professional Support
Problem: Solution: You can find proposed solution, in this case, with the following reply: Relevant Documentation: |
2 | 3 | hace 6 años, 8 meses | ||
[wpv-item] and spaces
Iniciado por: PiotrO586
en: Toolset Professional Support
Problem: Remove blank space within Views loop. Solution: You can try to merge all codes into one single line, see the solution here: Relevant Documentation: |
2 | 3 | hace 6 años, 8 meses | ||
Archive to show only posts having parents
Iniciado por: PiotrO586 en: Toolset Professional Support |
2 | 3 | hace 6 años, 8 meses |