Support

Account

Home Forums General Issues How to show photo gallery excluding the first array?

Unread

How to show photo gallery excluding the first array?

  • How to show photo gallery excluding the first array?

    My code to show the gallery

    <?php $images = get_field('galeria'); if( $images ): ?>
    <?php foreach( $images as $image ): ?>
    <img src="<?php echo $image['sizes']['galeria_thumb']; ?>" alt="<?php echo $image['alt']; ?>" />
    <?php endforeach; ?>
    <?php endif; ?>

    I need to show all the photos, but the first order.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.