Show page in lightbox

Is there a way to open wordpress pages/posts in a lightbox?

I’ve created a custom post type. These posts contain only a title, an embedded pdf (via the PDFjs Viewer plugin) and a featured image which is a screenshot of the first page of the pdf.
I have set up an essential grid that shows the featured images and links to the pages and this works fine.

I would however like to accomplish that the pdf page opens in a lightbox instead of a separate page. The reason is that there will be an active video stream running and it would be ideal if people can continue to listen to the audio and at the same time view the pdf’s. If this can be done I’m considering creating the entire site as a one-pager.
A workaround would be to open the pdf pages in new tabs but that if far less elegant and will cause confusion for some users so a lightbox or any other kind of popup is strongly preferred.

Can this be done? Thank you for your advice!

Hi @mkt1,

Thanks for reaching out!

We don’t have any option in our theme to do this and this will take customization to achieve it. Regretfully, customization is outside the scope of our theme support. You may seek 3rd party developers to help you with your problems or you can avail One where we can answer questions outside of the features of our theme.

Thank you

I understand, I can code but I’m not an expert so I have to do a lot of research to do things like this.
This plugin does exactly what I need:


But I know I should avoid mixing plugins from developers, especialy since you already have ilightbox inside the theme. Do you know if this will cause an issue?

This fiddle makes it seem so ease. Any way to alter this to work with the integrated lightbox instead of fancybox?
http://jsfiddle.net/g36YD/7/

Hi @mkt1,

The lightbox used within the theme is for specific purposes and you can use those as it has the specific way it works. As my colleague told you that, you need to do customization to achieve what you are trying. Like my colleague, I would also request you hire a developer who can assist you to do the customization or you can avail of our newly launched service called One, where the customization questions are answered.

Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.