Support

Account

Home Forums General Issues Directly get value in group sub-field Reply To: Directly get value in group sub-field

  • Hi Guzart!

    You can get your sub field like this:

    First of all, get your group of fields
    $group_values = get_field('group_name'); // use get_field('group_name', 'options') if your field is in a global page options
    (‘option’) work too

    Now you have your fields, display your title with $group_values['title']

    Cheers
    Sam