Hi!
I would like to be able to display the content of a custom post type in a popup... is this possible? With which plugin?
If so, can I keep the template design of this custom post type?
On the website I have a workshop page, and each workshop has its own teacher related. I want the teacher's file to be displayed in a popup from the course page.
You will tell me if it is possible and how I should do it.
Thanks!
Thank you for contacting us and I'd be happy to assist.
If I understand correctly, you'd like to keep the design/template for the single 'Workshop' post, that is coming from the theme. And in that display the related teacher posts, in the popup.
This is possible, but, I'll need to see exactly how the theme and different plugins are set up in the backend, to suggest the best way to achieve this.
Can you please share temporary admin login details, along with the link to an example workshop page?
Note: Your next reply will be private and making a complete backup copy is recommended before sharing the access details.
This will load the scripts and styles needed for this popup to work.
2. Next, replace the 'Single Field' block that is currently showing the related teacher's link and in its place add a 'Fields and Text' block, to generate the related teacher's link manually, with attributes class="iframe-lightbox-link" data-scrolling="true":
When this link will be clicked, it will show the single teacher's page, inside a popup.
I hope this helps and for more personalized assistance around custom code, you can also consider hiring a professional from our list of recommended contractors: https://toolset.com/contractors/