Home › Forums › General Issues › Turn subfield radio button options into icons › Reply To: Turn subfield radio button options into icons
Hi @Ailsa_C
I can see there is an incorrect field_name in your second has_sub_field
function:
<?php if(get_field('event_programme')): ?>
<?php while(has_sub_field('presentation_details')): ?>
This should be event_programme
.
Please also indent your code. This makes it much easier to read.
Thanks
E
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.