Support

Account

Home Forums General Issues Displaying div only when sub_field in group has content Reply To: Displaying div only when sub_field in group has content

  • I should add, I meant the container div should only appear when a sub_field in a group has content. I can easily echo html with the sub_field content but havent worked out how to successfully add a container div around all of the content shown in the code snippet above. When adding any div html it shows regardless of whether the sub_fields do or do not have content.

    Hope you can help. Bit confused. ta.
    Paul