Slider Link

Hello,

First of all, thank you for this awesome theme! The slider is woking fine, but i’d like to know if it’s possible to have 1 slide not clickable and the 2 others clickable?
Or redirect the 1st slide to the homepage instead of the post?

Thank you.

Hi @sholay,

I hope you are well today and thank you for your question.

You can create a first slide of slider not clickable and the 2 others clickable by using the attached child theme of Sparkling theme that contains some custom code.

Best Regards,
Movin

Hi Movin,

Thank you for answering. But how I do this once I’ve upload the child theme? I’m a newbie so I don’t have so much knowledge but I guess the link in the slider comes from the function

echo '<a href="'. get_permalink() .'">';
echo '</a>';

I don’t know how I can make 1 slide not clickable and the 2 others clickable :confused:

Thank you

Hi @sholay,

The shared child theme contains the custom code that makes first slide of slider not clickable and all other slides clickable so just install and activate the child theme on your site as describe don the following page and it won’t need any specific settings.

https://www.siteground.com/tutorials/wordpress/install_themes.htm

Best Regards,
Movin

hi @Movin,

I don’t know how but it works, thank you! But now, all the previous changes I made are missing (Slider on every pages, the sidebar sometimes appears and disappears depending on pages… :/)

Nevermind, I figured it out.
Thank You! :slight_smile:

Awesome great to see you got that figured out.

You are most welcome here :slight_smile: