Acf and pro how?

hi,

i installed and activated acf fields.
i made a reapater field called news. what i want is that a site editor can add news easy.
how is this done? i now said in acf rules : page is NEWS.now i see the repeater in the wordpress editor when i go to site news. now i add something but when i save this nothing is shown on the site news.
i then tried to add the shortcode [acf field=“news”] in a content area in the pro editor but there is only this shown: array,array.

how can i solve this?

thanks in advance

Hey Harald,

It’s not possible to display repeater values in a loop out of the box. You’ll need to create your own repeater shortcode like this: https://gist.github.com/sjxmxjsz/243829659b8234671a33db8acc113fbf

Displaying a specific field is possible. See https://support.advancedcustomfields.com/forums/topic/repeater-field-shortcode/

Hope that helps.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.