AnonymousGuestMay 24, 2018 at 1:12 am
I've been very successful using Elementor and Advanced Custom Fields but have run into a problem where Elementor does not provide a way to insert dynamic data into a widget. One example is the redirect link on an email form although there are many that don't accept dynamic data The use is for an Events custom post type which has a different Eventbrite URL for each event. Is there a way to do this, do you know? I had thought of a script in the page header getting the value and inserting it but I wouldn't know where to start.
- MemberJun 1, 2018 at 8:18 pm
I'm the original poster and there seems to be a fair bit of interest in this question. I haven't solved it but along the way I have found out how to insert multiple ACF values into one text widget (Elementor allows one per widget) using Enhanced Text Widget available as a plugin. You can use that to enter scripts, html and text on pages displaying a custom post type.
You enter ACF field values with the syntax: <?php the_field(‘the_field_name_goes_here'); ?>
I have used this to create an unordered list with text and ACF fields but I reckon you could create a table of data or anything you wanted.
AnonymousGuestNov 28, 2018 at 1:55 pm
Definitely. Elementor needs to make all elements fully dynamic AND provide an easy integration system/method for use with other plugins WITH COMPLETE code examples.
Thanks for your good work.
Log in to reply.