Home Forums Add-ons Gallery Field Gallery not displaying


Gallery not displaying

  • My gallery doesn’t appear in my fronetend website.
    I use owl carousel too. And here is my code.

    <div class=”carousel-inner”>
    <?php $images = get_field(‘hp_part_4_images’);
    if( $images ): ?>
    <?php foreach( $images as $image ): ?>
    <div class=”carousel-item”>
    <img class=”d-block w-100″
    src=”<?php echo $image[‘url’]; ?>” alt=””>
    <?php endforeach; ?>
    <?php endif; ?>`

    I don’t know what is wrong. Please help.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.