Skip Navigation

[Résolu] Create slider with images uploaded from custom field

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.

Marqué : ,

This topic contains 8 réponses, has 3 voix.

Last updated by Minesh Il y a 1 an et 4 mois.

Assigned support staff: Minesh.


Tell us what you are trying to do?
I have a custom post type, with a custom field for uploading images. I want to create a simple slider to display these images, with prev/next arrows floating on top of the frame. I do not want a thumbnail slider.

Is there any documentation that you are following?
I've looked at the documentation on the site, but it doesn't cover what I'm trying to do.

Is there a similar example that we can see?

What is the link to your site?
This is a dev site, and I would prefer to send you the link privately, please. Thanks!



Languages: Anglais (English )

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

Hello. Thank you for contacting the Toolset support.

Have you already checked the following Doc - how you can build sliders using the slider view?


Yes, I've read that, and have made post sliders with Toolset before.

In this case, I want to make a slider from all (and only) the images that are uploaded to the post from a toolset custom field (images).



Luo Yang

Languages: Anglais (English ) Chinois simplifié (简体中文 )

Timezone: Asia/Hong_Kong (GMT+08:00)

Views sliders are based on posts, if you are going to setup the sliders on a custom repeating image field, I suggest you try other workaround, for example woosliders:
hidden link

See simiar thread here:



Languages: Anglais (English )

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

Can you please confirm are you using custom repeating image field or you want to display the singe instance of image?

As Luo said, views sliders are based on post so it should work for the normal single instance custom image field.

Screen Shot 2020-03-11 at 1.42.08 PM.png

Right, I'm not using a custom repeating field. I'm using your standard "Image" field with "Allow multiple instances of this field" checked.

I was hoping there'd be a way to use a "foreach" to iterate through these images as slides. I thought it'd be possible because I'm using this same approach on another post type single template to add a masonry grid of images (again, from a standard image field with "allow multiple..." checked).

If that's not possible I will investigate Flex Slider. I'm just really trying to avoid installing unnecessary plugins. Usually Toolset can handle most of what I need to accomplish. Not in this case though, I guess.



Languages: Anglais (English )

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

If you are using the repeating image field. Please check the following doc:

I think you followed the same way to display the masonry.

There is a view shortcocde [wpv-for-each] if you want to iterate through the each instance of your multiple image field:


I’ll experiment with this next week. Please don’t close this ticket yet.



Languages: Anglais (English )

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

Ok fine - thank you.