I’ve got a similar problem. I can’t create a condition that verify if a field (of group, or single or whatelse) is empty. The first snippet post here doesn’t work. The second one doesn’t solve the proble cause it print the “<div>” into the foreach. I need div out of foreach and content inside it.