In this tutorial, I'm going to show you how you can create an Elementor Pro popup that's dynamically populated based on the element that was clicked.
This can be very useful when you don't want to create dozens of similar popups, and then have to update all of them if a layout or styling change is required.
Here, our popup becomes a template, and the data comes from a predefined array on your page. The data can also come from data attributes added to the popup opener elements.
Here is an example of what we will be creating. Scroll down to see a demo with buttons too.
The popup that shows up in the demo is always exactly the same. There is only one popup template on that page.
Features:
- Works for gallery pro, gallery basic, list icon, image carousel elements (with Array data)
- Also works for most other elements (with data attributes)
- Can swap images, texts and links
- Data comes from either an array on the page or data attributes on the clicked popup opener element (Don't worry that's well explained!)
Note that having Elementor Pro popups with dynamic content is already possible in the context of a single post template, for a single popup per post. If that's what you are looking for, then follow that tutorial instead.
And check the following if you want a dynamic popup with your Elementor Loop Grid.
This current tutorial is for when you need a list of items on your page, or several buttons or banners across your page, that will all open the same popup, but populated with different texts, images, and links.
Let's get started!
First, prepare your Elementor Pro Popup to be dynamic
This is a premium tutorial. Purchase access to unlock the full tutorial.