Support

Account

Home Forums General Issues Return all repeater rows containing a sub field which satisfies a condition Reply To: Return all repeater rows containing a sub field which satisfies a condition

  • the_field() and the_sub_field() are only used to output the value on the page and they do not return the value.

    use get_field() or get_sub_field()

    <?php if($journey_date == get_sub_field('event_bus_date')) { ?>