I ran into the same problem.
After some research I cobbled together this
add_action( 'elementor/dynamic_tags/register_tags', function( $dynamic_tags ) {
class ACF_Photo_Galery extends Elementor\Core\DynamicTags\Data_Tag {
public function get_name() {
return 'acf_photo_galery';
}
public function get_categories() {
return [ 'gallery' ];
}
public function get_group() {
return [ 'acf' ];
}
public function get_title() {
return 'ACF Photo Gallery';
}
protected function get_value( array $options = [] ) {
$photos = acf_photo_gallery("gallery", get_the_ID());
return $photos;
}
}
$dynamic_tags->register_tag( 'ACF_Photo_Galery' );
} );
Add it to your site as a plugin, it should allow Elementor to see images in an ACF Photo Gallery field with the name gallery. You will have to extend it for more features, but this should get you started.
I used these sources:
https://developers.elementor.com/dynamic-tags/
https://github.com/elementor/elementor/issues/7528#issuecomment-474889528
https://github.com/elementor/elementor/issues/7730#issuecomment-480578240
https://toolset.com/forums/topic/image-field-on-term-not-available-as-a-selection-in-elementor/
-
This reply was modified 4 years ago by rjktlf.
-
This reply was modified 4 years ago by rjktlf.