I’m struggling to make a gallery slider like this one:
I imagine that this needs a main stacked slider and a secondary inline slider to use as navigation.
I’ve made a JSON loop of images to simulate an ACF gallery that I’ll use later to populate this slider.
I’ve built the main slider and below it I inserted a row with the same images looped, where each image have the “data-x-slide-goto” custom property and the value is the DC “{{dc:looper:index}}”. This works as expected and when I click on the thumbnail, the main slider shows me the respective image.
Then I changed this row for a inline slider, with the same loop and custom property for the images. With this setup, when I click in a thumbnail, it doesn’t work as expect and the secondary slider just scroll itself.
I’ve read the documentation and I tried to make it work with “data-x-slide-context”, I even searched for topics about this here in the forum, but I couldn’t get this working, I’m a little confused on how to use this property, but I think this is the right path to solve my problem.
Here’s a link to the test page: https://teste.wp.dev.br/teste/
I’ll leave login credentials in the secure note, if needed, but I’d appreciate some help on this topic, I think I’m almost there.