Skip Navigation

[Resolved] creating a slider using a grid of thumbnails to navigate

This support ticket is created 6 years, 1 month 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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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/Hong_Kong (GMT+08:00)

This topic contains 1 reply, has 2 voices.

Last updated by Luo Yang 6 years, 1 month ago.

Assisted by: Luo Yang.

Author
Posts
#1127729
SCH_proof.jpg

hi—
i'd like to create a slider using views that is triggered by clicking on a thumbnail in a grid. as you can see in the attached image, i have a grid of teachers. when a thumbnail is rolled over, i'd like the slider below to show that teachers information.

i know how to make a grid of all my teachers and i know how to set up a view that displays custom fields within a CPT for that bottom slider. what im not sure how to do is to get the image in the grid to trigger the corresponding teacher bio below.

is this something i can do in views, and if so, how?

thanks for your time,
emily

#1128031

Dear emily,

There isn't such a built-in feature within Views plugin, Views built-in sliders works when you are using Views plugin to query multiple posts, in your case, it is a Repeated Image Custom Field of single post, you can integrate other slider JS framework, for example flexslider, see their domo:
hidden link

And here is a similar thread, for your reference:
https://toolset.com/forums/topic/making-images-from-custom-field-type-into-a-slideshow/

And here is the copy of PHP code of above thread:

function add_flexslider_slider_js() {
    wp_enqueue_script( 'flexslider-js', '<em><u>hidden link</u></em>', array( 'jquery' )); 
    wp_enqueue_style( 'flexslider-css', '<em><u>hidden link</u></em>');
}
   
add_action( 'wp_enqueue_scripts', 'add_flexslider_slider_js' );