Hello,
I have a question about using the same data for different custom post types. To explain more in detail. I have a custom post type "projects" with different custom fields. Now I want to use some of the projects as "case studies" therefor I need some additional custom fields and some control to make this visible as "case study". So I thought of adding these cutstom fields to the project post type and just add the missing fields to this. So I thought to of adding some kind of radiobox also like "This is a case study "yes / no". And if it is set to yes the project will also be displayed case study but in a different template.
Thanks for your reply! Thats good to hear. I just got one Problem. The other post type template was initially created with elementor and not with toolset view. As I need the same page layoit O fear that I must stick with elementor template. I it possible to use the view filter from toolset anyway?
To trigger the hook "wpv_filter_force_template" you will require to create content template with Toolset.
You did not mention before that you are using the Elementor template.
As you are using Elementor template, I suggest you should check with Elementor support about how you switch elementor template dynamically based on some condition (I mean as per your requirement).
Thanks for your reply. I am thinking of an other approach now. Is it possible to create a new custom post type “case studies” and connect an existing project to this? That way i could just add some additional custom fields and create a template for this post type. I am not sure if elementor can read the values from a connected post?