Support

Account

Home Forums ACF PRO Repeater field and link list Reply To: Repeater field and link list

  • Ok, I’m pretty stucked. I’ll explain one more time what I want to achieve.

    I want to build a list of links in one line with a separator like this:
    “Links: Link1 | Link2 | Link3 | LinkX…”

    I have a repeater field called ti_links with three subfields url, linktext and linksprache.

    For each link, I want to echo this:
    <a href="$url">$linktext</a> ($linksprache)

    I’ve built a new code snippet with the check have_rows and a while loop, but I’m to embarrassed to show it here. At least it doesn’t produce errors but simply prints the values, nothing else. What I don’t get is how to put the subfields into an array and implode it for the output with separator.