I use some ACF to build up an easy portfolio template.
Within the ACF I use a repeating field that contains “button” fields (title + url). When using “Link-URL” as output of the field I get the correct URL. Therefor I just use “{{dc:looper:field key=“button”}}”, but not the link title. When changing the output to “Link-Array” I get both - title + url separated by a “,”.
The container containing the button uses {{dc:acf:post_field field=“reference_buttons”}} (a repeating ACF field) as a looper provider. It works since it outputs all sub fields of the repeating field.
What do I need to add to the “{{dc:looper:field key=“button”}}” to just get the first and/or second element only of the array so I can use e.g. array element [0] on the button text and array element [1] as the url? Or is there a complete different way?
Hope I explained my problem good enough .