charlotteM-2
Support threads created in the last 30 days: 0
Favorite Forum 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, 6 months ago | ||
Events leave gap in grid
Started by: charlotteM-2 in: Toolset Professional Support |
2 | 3 | 3 years, 7 months ago | ||
View in Block Editor show results random and more
Started by: charlotteM-2 in: Toolset Professional Support |
3 | 5 | 3 years, 10 months 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, 7 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, 7 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 | 5 years, 11 months ago | ||
view not indexed by Google and not in xml-sitemap
Started by: charlotteM-2 in: Toolset Professional Support |
2 | 3 | 6 years 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, 1 month ago | ||
Forms do not work after migration
Started by: charlotteM-2 in: Toolset Professional Support |
2 | 7 | 6 years, 3 months ago | ||
Link post-title in view1 to single post in view2
Started by: charlotteM-2 in: Toolset Professional Support |
2 | 7 | 6 years, 4 months ago | ||
CRED duplicating posts, one with an auto-draft title
Started by: charlotteM-2
in: Toolset Professional Support
Problem: Solution: |
2 | 3 | 6 years, 9 months ago | ||
Link name Kathy Banach to own profilepage
Started by: charlotteM-2
in: Toolset Professional Support
Problem: This user had allowed his authors to Create there own profile pages in another CPT but wanted to link the author name of the posts that each author created to their own respective profiles. Solution: So lets say i'm viewing this page. // Add Shortcode function add_dash( $atts ) { // Attributes $atts = shortcode_atts( array( 'author' => '', ), $atts ); $result = str_replace(" ", "-", $atts['author']); return $result ; } add_shortcode( 'add_dash', 'add_dash' ); Next wrap your author name in a link and passed the author shortcode into my custom shortcode. This will result in a final code added to the page like this. [php][wpv-post-author] [php] Please let me know if this helps. |
2 | 7 | 6 years, 9 months ago | ||
Loading mixed (insecure) display content
Started by: charlotteM-2
in: Toolset Professional Support
Problem: Solution: In this case, you can find the proposed solution with the following reply: Relevant Documentation: |
2 | 13 | 6 years, 11 months ago | ||
Connect houses with city and address?
Started by: charlotteM-2 in: Toolset Professional Support |
2 | 7 | 7 years ago | ||
Please enter a valid URL address pointing to the image file.
Started by: charlotteM-2
in: Toolset Professional Support
Problem: Solution: Relevant Documentation: |
2 | 7 | 7 years ago |