leilaG
Support threads created in the last 30 days: 0
Favorite Forum Topics
This user has no favorite topics.
Forum Topics Created
Status | Topic | Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
Adding headers/titles to table of results
Started by: leilaG
in: Toolset Professional Support
Problem: Solution: You can find proposed solution, in this case, with the following reply: Relevant Documentation: |
2 | 3 | 6 years, 7 months ago | ||
Post expiration date
Started by: leilaG
in: Toolset Professional Support
Problem: I would like to use the post expiration date feature in wp-admin, and I would like to display the post's expiration date on the front-end of the site. Solution: Go to Toolset > Settings > Forms and choose "Enable automatic expiration of Post options for Post Forms" to activate post expiration features in wp-admin. Then to display the post expiration date on the front-end of the site, you can use the following shortcode: [cred-post-expiration id="[wpv-post-id]" format="m/d/Y"] |
3 | 5 | 6 years, 7 months ago | ||
Building a membership section and user registration
Started by: leilaG in: Toolset Professional Support |
2 | 3 | 6 years, 7 months ago | ||
Using the same function for numerous forms
Started by: leilaG
in: Toolset Professional Support
Problem: Solution: |
2 | 7 | 6 years, 7 months ago | ||
How to make taxonomies required fields
Started by: leilaG in: Toolset Professional Support |
2 | 7 | 6 years, 7 months ago | ||
How to set the Sender email to the email of an custom generic email field
Started by: leilaG
in: Toolset Professional Support
Problem: I have a CRED form that captures name and email address using generic fields. I would like to set the "From" email address using these generic field values. Solution: There is no easy way to do this in the wp-admin area, so just leave the sender information fields empty. To manipulate the sender's email address, you must use the CRED API to modify the email headers: function customise_cred_notifications( $headers, $formid, $postid, $notification_name, $notification_number ) { if( $formid == 12345 ) { $sender_email = $_REQUEST['sender-email-field-slug']; $sender_name = $_REQUEST['sender-name-field-slug']; $myheaders = array( "From: " . $sender_name . " <" . $sender_email . ">" ); return array_merge($headers, $myheaders); } return $headers; } add_filter('cred_mail_header', 'customise_cred_notifications', 10, 5); Replace 12345 with the ID of your form, and replace sender-email-field-slug and sender-name-field-slug with the proper slugs from your generic fields. Relevant Documentation: |
2 | 7 | 6 years, 7 months ago | ||
How to change Rich text editor (WYSIWYG) to a plain text editor
Started by: leilaG
in: Toolset Professional Support
Problem: Solution: function tssupp_false_body( $post_id, $form_data ){ if ( $form_data['id'] == 99 ) { // Edit $false_body = $_POST['false-body']; if ( $false_body ) { $args = array( 'ID' => $post_id, 'post_content' => $false_body ); wp_update_post( $args ); } } } add_action( 'cred_save_data', 'tssupp_false_body', 10, 2 ); |
2 | 10 | 6 years, 7 months ago | ||
Layout plugin clash with events plugin Eventon
Started by: leilaG in: Toolset Professional Support |
2 | 3 | 6 years, 7 months ago | ||
Include custom generic fields in notification email
Started by: leilaG
in: Toolset Professional Support
Problem: I would like to include generic field values in an email notification sent by a CRED form, but the API code produces a 500 server error. Solution: Do not add the callback function multiple times to add multiple placeholders. Instead, add all the placeholders at once in a single function. add_filter('cred_subject_notification_codes', 'custom_generic_field_notification', 10, 1); add_filter('cred_body_notification_codes', 'custom_generic_field_notification', 10, 1); function custom_generic_field_notification( $defaultPlaceHolders ) { $newPlaceHolders = array( '%%Name%%' => $_REQUEST['Name'], '%%Email%%' => $_REQUEST['Email'] ); return array_merge($defaultPlaceHolders, $newPlaceHolders ); } Relevant Documentation: |
2 | 3 | 6 years, 7 months ago | ||
Cred form submissions and Notifications
Started by: leilaG in: Toolset Professional Support |
2 | 3 | 6 years, 7 months ago | ||
Layout plugin clash with events plugin Eventon
Started by: leilaG in: Toolset Professional Support |
2 | 6 | 6 years, 8 months ago | ||
Qode Slider conflict with Bootstrap on parallax site
Started by: leilaG
in: Toolset Professional Support
Problem: I am using a Qode Slider on a parallax-style site to display an image gallery. When I scroll past the gallery, I see blank space beneath it with Toolset active. Solution: This conflict is between Bootstrap and Qode Sliders. Both use the CSS class "carousel", and the positioning styles clash. The two options are: .q_slider_inner .carousel-inner { position: fixed; } |
2 | 3 | 7 years ago | ||
Side and Page titles
Started by: leilaG in: Toolset Professional Support |
2 | 4 | 7 years ago | ||
Bridge theme – qode slider not working after activating tool types
Started by: leilaG in: Toolset Professional Support |
2 | 9 | 7 years ago | ||
Custom search – default open parent categories – on click show child categories
Started by: leilaG in: Toolset Professional Support |
2 | 6 | 7 years ago |