Support

Account

Home Forums General Issues How to get field data from a group inside a group Reply To: How to get field data from a group inside a group

  • `<?php $bigImageGroup = get_field(‘big_image_with_button’);
    ?>
    <img src=”<?php echo $bigImageGroup[‘image’][‘url’]; ?>” alt=”<?php echo $bigImageGroup[‘image’][‘alt’]; ?>” width=”100%”>
    <a href=”<?php echo $bigImageGroup[‘button’][‘url’]; ?>” class=”btn secondary”><?php echo $bigImageGroup[‘button’][‘text’]; ?></a>

    This worked for me, I’m not well versed but it seems on PHP but it seems that you keep passing on the objects.