Support

Account

Home › Forums › Add-ons › Repeater Field › Can't get “has_sub_field()” to work in a conditional › Reply To: Can't get “has_sub_field()” to work in a conditional

  • Try changing it to:

    <?php if(get_sub_field(‘vimeo_id’)) { ?>

    <iframe>embed code</iframe>

    <?php } ?>