Home › Forums › General Issues › Get Group Subfield Value via Shortcode › Reply To: Get Group Subfield Value via Shortcode
I realize this is an old post, but I know this is exactly what I’m looking for. Unfortunately, I cannot get it to display anything and I think it’s just my syntax that’s wrong.
Group = “certificates”
Repeater Field = “certificate_image”
Subfield = “image_file_1″`
I want to display the value of “image_file_1”.
Would I change:
[acf field="{$GROUP_FIELD_NAME}_{$SUB_FILED_NAME}"]
to:
[acf field="{certificates}_{image_file_1}"]
I’ve been at this since 8:45 this morning and I know this is the last piece that I need. Any and all help is appreciated.
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.