Make custom field meta not display if there is not data in it
It could be that there are rows being returned for: have_rows(‘google_drive_links’) but then, nothing returned for the sub fields? $content = get_sub_field(‘google_link_name’); $link = get_sub_field(‘google_link’); Perhaps you could put in an extra check for those two before creating the hr and ul? if (get_sub_field(‘google_link_name’) && get_sub_field(‘google_link’)){ // Create the hr and ul } Depending on … Read more