Support Forum Archive To perform forum search or open new support ticket Go to the support page Viewing 15 topics - 17,341 through 17,355 (of 18,432 total) ← 1 2 3 … 1,156 1,157 1,158 … 1,227 1,228 1,229 → Status Topic Supporter Voices Posts Freshness Automatically Add New Posts to Post Group Started by: aaronM-9 in: Toolset Professional Support 2 3 4 years, 10 months ago aaronM-9 New field groups are not showing up Started by: frederikB in: Toolset Professional Support 2 3 4 years, 10 months ago frederikB Toolset Blocks vs Views? Started by: GamX in: Toolset Professional Support 2 2 4 years, 10 months ago Jamal Best practice when deleting posts related to other posts Started by: himanshuS in: Toolset Professional Support Quick solution available Problem: The user would like to prevent deletion of a post if it has related posts to it. Solution: There no built-in way to do this. But, I can imagine at least two ways. - Simple way(if users interact with the system only from the frontend). Wrap the delete link of a post inside a conditional shortcode. The conditions should check if the post has any related posts in different relationships. - Custom code way(should work for frontend and backend). Create a hook on the before_delete_post action, and check if the post has related posts. If it does, redirect to a different page to prevent Toolset from deleting the post. Check this StackOverflow thread https://wordpress.stackexchange.com/questions/92155/how-to-prevent-a-post-from-being-deleted You can use Toolset relationships functions to check for the existence of related posts: - https://toolset.com/documentation/customizing-sites-using-php/post-relationships-api/ - https://developer.wordpress.org/reference/hooks/before_delete_post/ We have published a snippet that actually deletes the related posts when a post is deleted, it may inspire you if you want to implement the custom code solution https://kb.onthegosystems.com/code-snippet/automatically-delete-child-posts-when-parent-is-deleted/ 2 5 4 years, 10 months ago himanshuS Output Repeater fields in their drag-and-drop order Started by: chantelleL-2 in: Toolset Professional Support 2 2 4 years, 10 months ago Jamal Add post relationship column to custom post list in admin menu Started by: avansisI-2 in: Toolset Professional Support 2 7 4 years, 10 months ago avansisI-2 show relationship in Started by: avansisI-2 in: Toolset Professional Support 2 7 4 years, 10 months ago avansisI-2 Search view results Started by: avansisI-2 in: Toolset Professional Support 2 11 4 years, 10 months ago avansisI-2 Is it possible to get Title of the Referrer post by wp_get_referer() Started by: onwebdev in: Toolset Professional Support 2 4 4 years, 10 months ago Jamal Hi, Google PageSpeed score for our website is too low and needs to be fixed Started by: praveenM-2 in: Toolset Professional Support 2 2 4 years, 10 months ago Shane Which builder can I use? Is there a doc/product page with a comparison? Started by: andx in: Toolset Professional Support 2 2 4 years, 10 months ago Shane Toolset Access blocks Yoast SEO XML Sitemap Page Started by: KentS9937 in: Toolset Professional Support 2 9 4 years, 10 months ago KentS9937 Cloudflare & Toolset Started by: matthewL-7 in: Toolset Professional Support 2 3 4 years, 10 months ago matthewL-7 Does toolset work with classic editor? Started by: dimitrisb-2 in: Toolset Professional Support 2 3 4 years, 10 months ago dimitrisb-2 Where is my license key??? Started by: dimitrisb-2 in: Toolset Professional Support 2 3 4 years, 10 months ago dimitrisb-2 Viewing 15 topics - 17,341 through 17,355 (of 18,432 total) ← 1 2 3 … 1,156 1,157 1,158 … 1,227 1,228 1,229 → Known issues and solutions Frequently asked support questions Support tickets archive Get help from experienced contractors Meet Toolset support team Toolset Customer Support Policy Need to tell us something about the quality of support How to remove personal information from your database for support