The group field is a special type of repeater field, it always has 1 row even if there is no content in any of the sub fields. This means that have_rows()
is always true. You must check all of the sub fields. While the have_rows()
method will work I would suggest using the basic get_field()
approach https://www.advancedcustomfields.com/resources/group/