Support

Account

Home Forums Add-ons Gallery Field Gallery not displaying

Unread

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=””>
    </div>
    <?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.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.