Hi,
there are two problems.
1. The Free ACF Plugin –> navneil-naicker / acf-photo-gallery-field
return a array with posts, not the ‘id’.
So you have to change the Code to
'include' => implode(', ', array_column(get_field('fotos',false,false), 'id')),
2. The Divi Dynamic Module Framework (Settings–>Performance) didn’t load the new gallery type.
you have to insert
function divi_child_gallery_module_class( $classlist ) {
$classlist['et_pb_gallery'] = array( 'classname' => 'ET_Builder_Module_Gallery_ACF',);
return $classlist;
}
into the functions.php