Home › Forums › Add-ons › Repeater Field › Shortcode for Repeater Field? › Reply To: Shortcode for Repeater Field?
Shortcodes in acf are only meant for “Basic” field types.
It is possible to show the value of a basic field type in a repeater if you use the correct field name. Here is how repeater fields are stored
"{$repeater}_{$index}_{$sub_field}"
// $repeater = name of the repeater field
// $index = the row, starting at 0
// $sub_field = name of the sub field
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.