Skip Navigation

[Resolved] We like to have an image slider, and need the best approach

This support ticket is created 5 years, 2 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
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 4 replies, has 2 voices.

Last updated by fred-r.M 5 years, 2 months ago.

Assisted by: Christian Cox.

Author
Posts
#1366357

Tell us what you are trying to do? We like to have an image slider. We are having one custom post type, and inside there, we are having one field with multiple images defined.

Is there any documentation that you are following?

We found some links, but not sure where exactly to start with:

https://toolset.com/forums/topic/create-slider-from-images-in-multiple-fields/
https://toolset.com/forums/topic/slider-from-multiple-image-types-field/#post-209373

Is there a similar example that we can see? Not yet, respectively, images we get are not in a slider, hidden link (they used to be under picture gallery).

How we can put them in a slider?

What is the link to your site?

hidden link

#1366535

Hello, a Slider from a repeating image field will require a significant amount of custom code, as the example you shared shows: https://toolset.com/forums/topic/slider-from-multiple-image-types-field/#post-209373
I don't recommend trying to implement that solution unless you are comfortable writing your own custom JavaScript code. Views Sliders are designed to work by looping over posts, not custom field values. The Slider components and modules we have available are designed to work with multiple posts: https://toolset.com/modules/portfolio-slider-with-thumbnails/

This image gallery works well with repeating image fields, but it's not a slider: https://toolset.com/documentation/user-guides/create-image-galleries-using-toolset-and-custom-fields/
You may have more luck implementing this type of interface than trying to create a Slider out of a repeating image field.

#1366975

Dear Christian Cox

Okay, understandable. Another option would be? I read something, without having repeating image fields? So where we might use by looping over posts. How do we need to set this up?

And instead of "posts" with different kind of content (text and images), we will have only images.

Regards,

#1367591

Yes another option is to loop over posts or custom post types, where you save each image in a single image field or as the featured image of the post. Then you will insert that image in the Content Template of the View. We have more detailed Slider documentation available here:
https://toolset.com/documentation/user-guides/creating-sliders-with-types-and-views/

The information about creating thumbnail sliders could be useful:
https://toolset.com/documentation/user-guides/creating-sliders-with-types-and-views/how-to-create-a-wordpress-thumbnail-slider-in-minutes/

#1368907

We did not the way how the links and documents are written down. What we did, as we have revolution slider already installed, for each tour/activity, we have one RS slider, with all the settings from RS. It gives us a short code.

This short code is in a custom field from a tour, and we use the toolset shortcode to render the RS shortcode. So, we not need to be aware about all css stuff, as RS is already okay to show on different devices.

My issue is resolved now. Thank you!