Popup To Modal
Show tons of content in a modal to make it easier for users
Last updated
Show tons of content in a modal to make it easier for users
Last updated
If you have a ton of content to show inside your popup and it starts to get too big for your map, moving that content to a modal is a great idea.
This is also the only way to have complex shortcodes work inside popups. Because normal popups are rendered as plain HTML, they won't usually render shortcodes. However, inside a modal, shortcodes will function as usual.
Go to your Location, Line, or Polygon (or use Mass Edit to do it for many popups at once) and enable "To Modal" in the options for Button Action. Make sure your popup template has a Button available in it, otherwise the button won't appear.
You can always use Mass Edit to edit many popups at once, and use Dynamic Popup syntax at the same time!
A new text field will appear. You can fill in your heavier details here, and you can use the same advanced syntax described below to populate this modal with dynamic properties from your post or feature data.
You can also "Open Directly to Modal" when a feature is clicked, instead of needing to open a popup with a button press in between.