Skip Navigation

[Resolved] Repeat Custom Field in Random Order

This support ticket is created 2 years, 6 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 3 replies, has 2 voices.

Last updated by Minesh 2 years, 6 months ago.

Assisted by: Minesh.

Author
Posts
#2474621

Hi there,

Is it possible show repeat custom field only 1 but random order?

Let say I have repeat custom field for image:
Image 1, Image 2, Image 3

Then I want show only 1 image but in random order.
So every refresh browser it show random image.

Thanks for you help

#2474717

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

I would like to know first and clarify that do you have repeating field group or custom field which offer you multiple instances?

#2474727

for now I still using single custom field. But do it possible if I use repeat custom field image, then show it 1 image but random order?

#2474729

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Yes but there is no native way but either you will have to use custom shortcode that should return the random order number and then we can display that number image option of your repeating field.