WordPress ACF repeater or flexible content Field to Include Elementor Template ID

<?php $slideId = get_sub_field('field_name'); echo do_shortcode('[elementor-template id="'.$slideId.'"]'); ?>
Elementor templates can be used with flexible content or repeater to add Elementor Pro templates using WordPress shortcode within do_shortcode.

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.