• Resolved jameswilliams90

    (@jameswilliams90)


    Hi Eliot,

    Can I ask for a feature request in an upcoming version? I would love to be able to select a random field from the repeater field then echo the data from a particular sub-field. While it is possible to select a particular field from a repeater, It doesn’t seem to be possible to do a random selection currently.

    Kind regards,
    James

    https://ww.wp.xz.cn/plugins/custom-content-shortcode/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Eliot Akira

    (@miyarakira)

    Sure, I’ll look into it and let you know when it’s ready.

    Plugin Author Eliot Akira

    (@miyarakira)

    Hello, sorry it took me longer than it should have. I added this feature in the newest update.

    [repeater field_name row="rand"]
      [field sub_field]
    [/repeater]

    It should also work like:

    [repeater field_name row="rand" sub="sub_field"]

    I changed the parameter name from num to row, since it made more sense. num will continue to work as before.

    Thread Starter jameswilliams90

    (@jameswilliams90)

    Eliot,

    Thanks a million. I don’t think you should be apologizing to anyone for any delay. You are building a fantastic, robust, feature-rich product and your support effort is second to none. Thank you so much for the ACF repeater field, it is so useful.

    Best wishes,
    James

    Plugin Author Eliot Akira

    (@miyarakira)

    Thank you, James, I appreciate it. 🙂 I’m happy to see people are finding the plugin useful. Please do let me know if you have any other suggestions.

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

The topic ‘Feature Request ACF Repeater Randomized output’ is closed to new replies.