<?php
// Auto-renders with configured layout
the_field('project_gallery');
?>
<?php
// Manual rendering with full control
if (function_exists('agrfuxd_render_enhanced_gallery')) {
echo agrfuxd_render_enhanced_gallery('gallery_field', get_the_ID());
}
?>
<?php
// Standard ACF repeater usage
if (have_rows('team_members')) :
while (have_rows('team_members')) : the_row();
$name = get_sub_field('name');
$photo = get_sub_field('photo');
echo '<div class="member">';
echo '<h3>' . esc_html($name) . '</h3>';
if ($photo) {
echo wp_get_attachment_image($photo, 'medium');
}
echo '</div>';
endwhile;
endif;
?>