Akhil
In den letzten 30 Tagen erstellte Support-Threads: 0
Lieblings-Forenthemen
This user has no favorite topics.
Forum Topics Created
Status | Thema | Supporter | Stimmen | Artikel | Aktualität |
---|---|---|---|---|---|
add a class for edit view?
Gestartet von: Akhil in: Toolset Professional Support |
2 | 4 | vor 6 Jahren, 12 Monaten | ||
Auto detect CPT for widget.
Gestartet von: Akhil
in: Toolset Professional Support
Problem: Solution: You can find proposed solution with the following reply. Relevant Documentation: |
2 | 8 | vor 7 Jahren | ||
Auto-populate a text area field from another custom field
Gestartet von: Akhil
in: 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 | vor 7 Jahren | ||
user profile management plugins
Gestartet von: Akhil in: Toolset Professional Support |
2 | 5 | vor 7 Jahren | ||
hiding row on layouts
Gestartet von: Akhil in: Toolset Professional Support |
3 | 9 | vor 7 Jahren | ||
How to customise the child post fields shown on a parent edit screen
1
2
Gestartet von: Akhil
in: 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 | vor 7 Jahren | ||
cred form detached
Gestartet von: Akhil
in: Toolset Professional Support
Problem: 1. can't set the notification back, refuse to save. Solution: |
2 | 6 | vor 7 Jahren | ||
Responsive Slider design
1
2
Gestartet von: Akhil
in: 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 | vor 7 Jahren, 1 Monat | ||
Unable to load Module Library
Gestartet von: Akhil
in: 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 | vor 7 Jahren, 1 Monat | ||
Post Types connected to this form: cpt not listed for selection
Gestartet von: Akhil
in: 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 | vor 7 Jahren, 1 Monat | ||
map template not loading in layout view.
Gestartet von: Akhil
in: Toolset Professional Support
Problem: Solution: |
2 | 11 | vor 7 Jahren, 1 Monat | ||
CPT Menu url format
Gestartet von: Akhil in: Toolset Professional Support |
2 | 13 | vor 7 Jahren, 1 Monat | ||
Toolset and Elementor Bugs
1
2
Gestartet von: Akhil
in: 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 | vor 7 Jahren, 1 Monat | ||
Noman, few issue to solve please.
1
2
Gestartet von: Akhil
in: Toolset Professional Support
Problem: Solution: input[type="checkbox"]{ color: #000 !important; } |
2 | 17 | vor 7 Jahren, 1 Monat | ||
hide custom field checkbox options
Gestartet von: Akhil
in: 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 | vor 7 Jahren, 1 Monat |