Skip Navigation

[Resolved] Slider/banner creation

This support ticket is created 6 years, 7 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
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 1 reply, has 2 voices.

Last updated by Nigel 6 years, 7 months ago.

Assisted by: Nigel.

Author
Posts
#711916

Need to show a slider on each tour page like this link hidden link with thumbs at the bottom.

Currently using a template to show hidden link

Can I create this using your slider?

I only know revolution and master slider but am not sure how to set up a condition to show the specific slider related to the tour page.

Thanks

Simon

#714362

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi Simon

Sliders. There are essentially 3 kinds (in terms of where the data comes from).

1. Sliders which you can readily create with Views are intended to rotate between posts, e.g. your View retrieves "hotel" posts and displays, say, the featured image from each hotel. That's described here: https://toolset.com/documentation/user-guides/creating-sliders-with-types-and-views/

2. Slider plugins or bundled with themes typically require you to manually build a slider by choosing images from the media library to include in the slider, and are not normally suitable for generating sliders that automatically retrieve the required data

3. What I suspect you want. You have a custom post type where the posts have several images attached as a repeating custom image field, and when you display the post you want to display those images in a slider.

This is a common enough subject, but requires some effort from your part to get it working.

It basically involves ensuring that the slider assets (CSS and JS) are enqueued on the page, that the format of the markup output matches what is required by the slider, and instantiating the slider (if it doesn't happen automatically).

The principles are the same for whichever slider library you use.

I have provided instructions for the flexslider library before, where you can specify options to, for example, including thumbnail navigation on the bottom: hidden link

We have a pending update to our documentation about this, and details of what's involved are described here: hidden link

Try that and if you get stuck let me know.