Avada › Forums › Community Forum › Combine A CPT, off-canvas popup and ACF to get dynamic video pop-ups › Reply To: Combine A CPT, off-canvas popup and ACF to get dynamic video pop-ups
I will answer my own question, as with a bit of help I came to a workable solution.
Currently there is no way to pass the ID from the postcard post to the offcanvas pop-up.
But you can simulate a popup effect with the lighbox, so instead of opening the offcanvas, we altered the dynamic link in the postcard to open the ACF field ‘video’ in a lightbox -> you only have to make sure that you add https://vimeo.com/ infront of the ID. This can be done at the CPT ACF field, but that would require everyone to add this to each post. So we choose to add this in the ‘before’ field, when picking the dynamic link ACF field.
Works like a charm.
You do give up some flexibility in what the popup looks like, but it works well enough.