diyanK
In den letzten 30 Tagen erstellte Support-Threads: 0
Lieblings-Forenthemen
Dieser Benutzer hat keine Lieblingsthemen.
Forum Topics Created
Status | Thema | Supporter | Stimmen | Artikel | Aktualität |
---|---|---|---|---|---|
Latest versions break file upload via toolset forms on front-end
Gestartet von: diyanK in: Toolset Professional Support |
2 | 2 | vor 5 Monate, 1 Woche | ||
Sorting a classic view table layout using a child post's Date custom field value
Gestartet von: diyanK in: Toolset Professional Support |
2 | 3 | vor 1 Jahr, 1 Monat | ||
Use my location stopped working
Gestartet von: diyanK in: Toolset Professional Support |
2 | 3 | vor 1 Jahr, 1 Monat | ||
Update-able web app distibution
Gestartet von: diyanK in: Toolset Professional Support |
3 | 7 | vor 1 Jahr, 1 Monat | ||
Change relationships per page in wp-admin
Gestartet von: diyanK in: Toolset Professional Support |
2 | 4 | vor 1 Jahr, 6 Monate | ||
Add custom field value to View Loop item contener
Gestartet von: diyanK in: Toolset Professional Support |
2 | 7 | vor 1 Jahr, 7 Monate | ||
Turn off automatic live preview for Toolset in Gutenberg
Gestartet von: diyanK in: Toolset Professional Support |
2 | 2 | vor 1 Jahr, 7 Monate | ||
Post Date field doesn’t output date format according to Site Language setting.
Gestartet von: diyanK
in: Toolset Professional Support
Problem: Solution: [wpv-post-date format="F j Y"] Relevant Documentation: |
2 | 3 | vor 1 Jahr, 10 Monate | ||
Record post relationship changes
Gestartet von: diyanK in: Toolset Professional Support |
2 | 6 | vor 1 Jahr, 11 Monate | ||
CRED Form returning AJAX Request Failed!
1
2
Gestartet von: diyanK in: Toolset Professional Support |
2 | 20 | vor 3 Jahre, 2 Monate | ||
Random order in a View/Block Editor/ creates a server feed loop.
Gestartet von: diyanK
in: Toolset Professional Support
Problem: Setting random order in a View block causes constant updates in wp-admin editor page. Solution: Update to the latest version of Blocks/Views to get the fix for this issue. |
3 | 14 | vor 3 Jahre, 3 Monate | ||
CRED checkbox validation fails after WP 5.6 update
Gestartet von: diyanK in: Toolset Professional Support |
2 | 5 | vor 3 Jahre, 3 Monate | ||
Content template "View with" issue
Gestartet von: diyanK in: Toolset Professional Support |
2 | 6 | vor 3 Jahre, 4 Monate | ||
Delete related posts and their attachments when deleting parent post with cred-delete-post shortcode
Gestartet von: diyanK
in: Toolset Professional Support
Problem: I would like to use a cred-delete-post shortcode to allow my visitors to delete a post on the front-end of the site. This post may be the parent of one or more child posts. When the parent post is deleted, I would like to delete its attachments, and its child posts as well as their attachments. Solution: Use the 'delete' action in the cred-delete-post shortcode, and customize the following code snippet to work with your post type slugs and post relationship slug. function delete_post_children($post_id) { global $wpdb; $post_type = get_post_type( $post_id ); if ( $post_type == 'products' || $post_type == 'profile') { $ids = $wpdb->get_col("SELECT ID FROM {$wpdb->posts} WHERE post_parent = $post_id AND post_type = 'attachment'"); foreach ( $ids as $id ) { wp_delete_attachment($id, true); } if(has_post_thumbnail( $post_id )) { $tn_id = get_post_thumbnail_id( $post_id ); wp_delete_attachment($tn_id, true); } if( $post_type == 'profile' ) { // in this case, we want to force-delete the child product posts as well $profile_products = toolset_get_related_posts( $post_id, 'profile-product', [ 'query_by_role' => 'parent', 'role_to_return' => 'child', 'limit' => 10000, 'orderby' => null, ] ); foreach($profile_products as $profile_product ) { wp_delete_post( $profile_product, true ); } } } } add_action('before_delete_post', 'delete_post_children'); Relevant Documentation: |
2 | 12 | vor 3 Jahre, 4 Monate | ||
CRED custom taxonomy select option – empty items disappeared
Gestartet von: diyanK in: Toolset Professional Support |
1 | 2 | vor 3 Jahre, 4 Monate |