Xila of Dev biznet
10/15/2019 - 10:52 AM

Gallery ACF

Tableau foreach. Exemple avec un slider.

<?php 
    $images = get_field('slider_header'); 
        
    foreach ($images as $image){
        print_r($image);
        echo '<div class="bg_header" style="background-image:url('.$image['url'].')"></div>';
    }
?>