charlotteM-2
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 |
---|---|---|---|---|---|
Custom image size not working anymore
Started by: charlotteM-2
in: Toolset Professional Support
Problem: Solution: Relevant Documentation: |
3 | 6 | 3 years, 9 months ago | ||
Events leave gap in grid
Started by: charlotteM-2 in: Toolset Professional Support |
2 | 3 | 3 years, 10 months ago | ||
View in Block Editor show results random and more
Started by: charlotteM-2 in: Toolset Professional Support |
3 | 5 | 4 years, 1 month ago | ||
Duplicate event with new start- and end date
Started by: charlotteM-2
in: Toolset Professional Support
Problem: Solution: You can either hook into "cred_before_save_data" which happens before saving the new post or into "cred_save_data" which happens after saving the new post. Relevant Documentation: |
2 | 3 | 4 years, 10 months ago | ||
Yoast primary taxonomy : displaying something else than the ID for CPT
Started by: charlotteM-2 in: Toolset Professional Support |
2 | 2 | 5 years, 10 months ago | ||
Error (uncaught error) after submit a post-form
Started by: charlotteM-2
in: Toolset Professional Support
Problem: The issue here is that the user was getting a fatal error with the elementor plugin. Solution: Unfortunately since the elementor plugin is not a plugin that we make, we are not able to resolve this. However the customer was able to resolve this by updating their elementor plugin. |
2 | 4 | 6 years, 2 months ago | ||
view not indexed by Google and not in xml-sitemap
Started by: charlotteM-2 in: Toolset Professional Support |
2 | 3 | 6 years, 3 months ago | ||
Connect post created by Forms to a post in another CPT by the same author, using Post Relationships API
1
2
Started by: charlotteM-2
in: Toolset Professional Support
Problem: I have two custom post types, Trainers and Trainings, that are connected in a one-to-many relationship. Multiple Trainers can be associated with the same Training post. Each Trainer post is associated with only one User, who is the post author, and each User can only create one Trainer post. Each User can create multiple Training posts. I would like to automatically associate a new Training post created with Forms to the same post author's Trainer post. Solution: add_action('cred_save_data', 'ts_link_author_trainer_to_training',10,2); function ts_link_author_trainer_to_training($post_id, $form_data) { global $current_user; wp_get_current_user(); // if a specific form if ($form_data['id']==541) { // get the Training post created by the current User $trainer_args = array( 'post_type'=>'trainer', 'numberposts'=>1, 'author'=>$current_user->ID, ); $trainer_res = get_posts( $trainer_args ); if(isset($trainer_res[0])) { $trainer = $trainer_res[0]; // connect the trainer and the training just created by Forms toolset_connect_posts( 'trainer-activiteit', $trainer->ID, $post_id ); } } } Relevant Documentation: |
3 | 31 | 6 years, 5 months ago | ||
Forms do not work after migration
Started by: charlotteM-2 in: Toolset Professional Support |
2 | 7 | 6 years, 6 months ago |