Hypelink to open modal with custom post

Hi there!

We have a site with teacher bios as custom posts. What I want to do is open the custom post in a modal from a link on an image. As in, a person clicks on the link and the modal with the teacher bio (custom post) pops up. How can I do this?

Hi There,

You can try with the Popovers & Tooltips shortcode:


Let us know how it goes!

Popovers is nice. I think I will use that somewhere else.

It would be good to be able to do it like on this page:


We had to come up with a creative solution to make it work like we want to, but it would be nice to have a simpler way that is native to Pro.


You can use the theme’s native lightbox.



<div id="my-content" style="display:none;">
  ...content here...

<a href="#my-content" class="my-lightbox" data-type="inline">Click Me</a>

[lightbox selector=".my-lightbox"]

Ok, thanks

Glad we could help,


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