Akhil
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 |
---|---|---|---|---|---|
add a class for edit view?
Iniciado por: Akhil en: Toolset Professional Support |
2 | 4 | hace 6 años, 11 meses | ||
Auto detect CPT for widget.
Iniciado por: Akhil
en: Toolset Professional Support
Problem: Solution: You can find proposed solution with the following reply. Relevant Documentation: |
2 | 8 | hace 7 años | ||
Auto-populate a text area field from another custom field
Iniciado por: Akhil
en: Toolset Professional Support
Problem: I would like to automatically copy an address custom field value into another textarea custom field when the post is saved. Solution: It depends on whether the post is saved with CRED or if the post is saved in wp-admin. If CRED, you can use the cred_save_data hook: add_action('cred_save_data', 'copy_location_to_multiline_field',10,2); function copy_location_to_multiline_field($post_id, $form_data) { // if a specific form if ($form_data['id']==12345) { if (isset($_POST['wpcf-location'])) { // add it to saved post meta update_post_meta($post_id, 'wpcf-multiline', $_POST['wpcf-location']); } } } Replace 12345 with the CRED form ID, and replace 'wpcf-location' and 'wpcf-multiline' with the correct field slugs. Add the 'wpcf-' prefix to the slug shown in wp-admin for each field. If they are created in wp-admin, you can use the save_post hook: add_action( 'save_post', 'copy_location_to_multiline_field_admin', 100, 3 ); function copy_location_to_multiline_field_admin( $post_id, $post, $update ) { if ( $post->post_status == 'publish' && $post->post_type == 'cptslug' ) { $location = get_post_meta( $post_id, 'wpcf-location', true); update_post_meta( $post_id, 'wpcf-multiline', $location ); } } Replace 'cptslug' with the slug of the post type where you have your address field, and replace 'wpcf-location' and 'wpcf-multiline' with the correct field slugs. Add the 'wpcf-' prefix to the slug shown in wp-admin for each field. Relevant Documentation: https://toolset.com/documentation/programmer-reference/cred-api/#cred_save_data |
2 | 3 | hace 7 años | ||
user profile management plugins
Iniciado por: Akhil en: Toolset Professional Support |
2 | 5 | hace 7 años | ||
hiding row on layouts
Iniciado por: Akhil en: Toolset Professional Support |
3 | 9 | hace 7 años | ||
How to customise the child post fields shown on a parent edit screen
1
2
Iniciado por: Akhil
en: Toolset Professional Support
Problem: Solution: At the bottom where the child post types are set, use the "Select fields" link to choose the fields of the child post that will be shown on the parent post edit screen. Relevant Documentation: |
2 | 21 | hace 7 años | ||
cred form detached
Iniciado por: Akhil
en: Toolset Professional Support
Problem: 1. can't set the notification back, refuse to save. Solution: |
2 | 6 | hace 7 años | ||
Responsive Slider design
1
2
Iniciado por: Akhil
en: Toolset Professional Support
Problem: Solution: Also I posted some instructions here in the past that may help you to understand bits of it: Own carousel API doc: |
2 | 25 | hace 7 años | ||
Unable to load Module Library
Iniciado por: Akhil
en: Toolset Professional Support
Problem: Solution: I checked this by installing phpinfo plugin in your site to see if "allow_url_fopen" is Enable or Disable, and I found it's disabled at moment. I found various tickets for same case with the above solution: Relevant Documentation: |
2 | 10 | hace 7 años, 1 mes | ||
Post Types connected to this form: cpt not listed for selection
Iniciado por: Akhil
en: Toolset Professional Support
Problem: Solution: add_action('cred_save_data','func_custom_post_title2',10,2); function func_custom_post_title2($post_id,$form_data) { $type = get_post_type($post_id); if ($form_data['id']==86) { $title = $_POST['currentpagetitle']; $slug = sanitize_title($title); $args = array('ID' => $post_id, 'post_title' => $title, 'post_name' => $slug ); wp_update_post($args); } } // custom cred notification placeholders add_filter('cred_body_notification_codes', 'custom_generic_field_notification2'); add_filter('cred_subject_notification_codes', 'custom_generic_field_notification2'); function custom_generic_field_notification2( $defaultPlaceHolders ) { $newPlaceHolders = array( '%%FORCED_PARENT_TITLE%%' => $_REQUEST['currentpagetitle'], '%%FORCED_PARENT_URL%%' => $_REQUEST['currentpageurl'] ); return array_merge($defaultPlaceHolders, $newPlaceHolders ); } Relevant Documentation: |
2 | 12 | hace 7 años, 1 mes | ||
map template not loading in layout view.
Iniciado por: Akhil
en: Toolset Professional Support
Problem: Solution: |
2 | 11 | hace 7 años, 1 mes | ||
CPT Menu url format
Iniciado por: Akhil en: Toolset Professional Support |
2 | 13 | hace 7 años, 1 mes | ||
Toolset and Elementor Bugs
1
2
Iniciado por: Akhil
en: Toolset Professional Support
Problem: I have noticed several compatibility issues between Toolset and Elementor. Solution: The latest release of Toolset plugins includes solutions for these issues. |
2 | 17 | hace 7 años, 1 mes | ||
Noman, few issue to solve please.
1
2
Iniciado por: Akhil
en: Toolset Professional Support
Problem: Solution: input[type="checkbox"]{ color: #000 !important; } |
2 | 17 | hace 7 años, 1 mes | ||
hide custom field checkbox options
Iniciado por: Akhil
en: Toolset Professional Support
Problem: Solution: $('#lv_tenures .checkbox').each(function(index, element) { var checkbox_val = $(this).find('input[type="checkbox"]').val(); if( checkbox_val == 'Other' || checkbox_val == '30 Yrs' || checkbox_val == '60 Yrs' ) { $(this).remove(); } }); |
3 | 10 | hace 7 años, 1 mes |