• Resolved aurorasentinel1

    (@aurorasentinel1)


    Been trying to look at the documentation but still can’t get this test to work. I have a test Field Group called Repeater Test in ACF. I have a repeater field named newt. Sub Fields named pig and snake. This isn’t working:

    [repeater field="newt"]
            [sub field="pig"]
            [sub field="snake"]
        [/repeater]

    It displays the shortcode but it is repeated. What a I missing?

    https://wordpress.org/plugins/custom-content-shortcode/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter aurorasentinel1

    (@aurorasentinel1)

    I did some more digging and discovered I had asked about this a long time ago and solved it. So I looked back at my old site and it was working. This was using WP 4.1.7, ACF version 4.3.8, and CCS 0.9.8. So I made a staging site of this, and only updated to WP 4.3.1, ACF to 4.4.3 and CCS to 3.1.6. And it doesn’t work. There has to be something wrong somewhere. Can you check?

    Plugin Author Eliot Akira

    (@miyarakira)

    I see, something must have changed between those versions.

    Does the following work?

    [repeater field=newt]
      [field pig]
      [field snake]
    [/repeater]
    Thread Starter aurorasentinel1

    (@aurorasentinel1)

    That did it! Thanks so much Eliot!

    Plugin Author Eliot Akira

    (@miyarakira)

    Great, that’s good to know it works, and the newer version looks better too. 🙂

    Thread Starter aurorasentinel1

    (@aurorasentinel1)

    So was this an ACF change?

    Plugin Author Eliot Akira

    (@miyarakira)

    This was a change in the CCS plugin, somewhere between 0.9.8 and 3.1.6. I usually don’t make any changes that break backward compatibility – or I try to announce it in advance – but I think this was early in the plugin’s history.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Help with ACF Repeater Fields’ is closed to new replies.