davidS-53
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 |
---|---|---|---|---|---|
cred_show_group not working with a cred_generic_field checkbox
Started by: davidS-53 in: Toolset Professional Support |
2 | 3 | 5 years, 11 months ago | ||
CRED Form with Post Relationship doesn't save if multiple forms exist on page.
Started by: davidS-53 in: Toolset Professional Support |
2 | 8 | 5 years, 11 months ago | ||
Dynamic redirect for cred_delete_post_link
Started by: davidS-53 in: Toolset Professional Support |
2 | 2 | 5 years, 11 months ago | ||
View with all child posts that are part of a given relationship
Started by: davidS-53 in: Toolset Professional Support |
2 | 5 | 5 years, 11 months ago | ||
Force spiderfy open for markers on map view
Started by: davidS-53
in: Toolset Professional Support
Problem: I've set up spiderfy on on my map which works nicely when clicked, can I force it to default to the spiderfy layout from the start? Otherwise users aren't going to know that there are multiple markers at one address. Solution: The client slightly adjusts some markers so they aren't in exactly the same location & use clustering. Relevant Documentation: |
2 | 4 | 6 years ago | ||
Issues displaying large number of posts on map
Started by: davidS-53 in: Toolset Professional Support |
3 | 12 | 6 years ago | ||
Auto create child post if generic checkbox is checked
Started by: davidS-53
in: Toolset Professional Support
Problem: I have a Form that creates parent posts. There is a generic checkbox in the Form. If the checkbox is checked, I would like to automatically create a child post. Solution: Use the cred_save_data API to create a post automatically, use the toolset_connect_posts API to automatically link the new child post to the new parent post, and test the checkbox by testing if the slug key exists in the $_POST superglobal. function create_child_log_item($post_id, $form_data) { if ( isset( $_POST['auto-add-log-item'] ) ) { $log_item = array( 'post_title' => $title, 'post_content' => '', 'post_status' => 'publish', 'post_type' => 'log-item', 'meta_input' => array( ), ); $log_item_id = wp_insert_post( $log_item , $wp_error ); if ( $form_data["id"]==283 ) { toolset_connect_posts( 'maintenance-task-log-item', $post_id, $log_item_id ); } } } add_action("cred_save_data","create_child_log_item",10,2); Relevant Documentation: |
2 | 7 | 6 years ago | ||
Function to create custom post/relationship blocking Woo "processing" status
Started by: davidS-53 in: Toolset Professional Support |
2 | 3 | 6 years, 1 month ago | ||
types_get_field adds extra character for default option
Started by: davidS-53 in: Toolset Professional Support |
2 | 9 | 6 years, 1 month ago | ||
File upload field unstylable
Started by: davidS-53 in: Toolset Professional Support |
2 | 2 | 6 years, 2 months ago | ||
Post relationship doesn’t save
1
2
Started by: davidS-53
in: Toolset Professional Support
Problem: Solution: |
2 | 19 | 6 years, 2 months ago | ||
Update slug when post title is updated
Started by: davidS-53
in: Toolset Professional Support
Problem: Solution: |
2 | 3 | 6 years, 2 months ago | ||
Show popular taxonomy terms by default.
Started by: davidS-53 in: Toolset Professional Support |
2 | 6 | 6 years, 3 months ago | ||
Automatically connecting post types in many-many relationship
Started by: davidS-53
in: Toolset Professional Support
Problem: I have two post types: Studios and Artists. A Studio can have many Artists, and an Artist can belong to many Studios (set up as a many-many relationship). I have Toolset forms to create each post type. However, I cannot work out how to add a field to the Artist CRED form that automatically creates a link to the current Studio - I want to use the Artist Toolset form in the content template for a Studio. Solution: It is possible with some custom codes, for example: Relevant Documentation: |
2 | 6 | 6 years, 3 months ago | ||
Error: The parent must be a post ID or a WP_Post instance
Started by: davidS-53 in: Toolset Professional Support |
2 | 11 | 6 years, 3 months ago |