This support ticket is created 2 years, 8 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
I have a CPT "Courses" that is the son of a CPT "Academies" the academies have a featured image that is their logo, I through parent-child relationship show the logo of the academy in the course template, but I need that when creating the This course, save the image that the parent academy has as an image. Is this possible? Thanks in advance
For example, suppose that the post-relationship slug is "academies-courses", where the "academies" is the parent and the "courses" is the child post type.
Hello, thanks for the answer.
I understand that operation and I have it applied in my content template, but I need that when creating the child CPT it automatically saves its featured image using that of the parent CPT. Is this really possible?
For more personalized assistance around custom code, you can also consider hiring a professional from our list of recommended contractors: https://toolset.com/contractors/
Note: Even if you manage to copy the featured image from the parent to child when a child post is created, keeping the featured image in sync will remain a challenge. If a featured image is changed for 1 parent post, you'll have to make sure to update it for all the child posts too. For this reason, it would be better to call the featured image directly from the parent, instead of saving it with the individual child posts too.
This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.