Disable slider link child theme

Goodmorning everyone,

I have a question about the slider. I already disabled the slider link. But I want to know if it is possible to disable the slider link within a child theme. I prefer not to change the parent theme due to possible future updates.

I already found the answer !

Hi @azzip401,

Awesome great to see you got that found.

Please advise if you have more questions.

Have a fantastic day!

Cheers,
Movin

I was sad that ‘azzip401’ didn’t write the answer for this, so after some search i found the answer here for anyone else having the same issue:
https://colorlibsupport.com/t/child-theme-function-override/

You will just need to follow the same steps to override the sparkling_featured_slider() function in the extras.php file.

@hesham I hope you are well today and thanks for helping out here in this forum.

Your help here is really appreciated.

The solution you have shared is for Dazzling theme and not for Sparkling theme. The solution for Sparkling theme is shared in the following reply.

https://colorlibsupport.com/t/disable-slider-link-and-remove-slider-title-from-displaying/#post-20724

@Movin I hope you’re doing well too :slight_smile:

The post that you have shared shows how to disable the slider links, but the question in the current post is about how to apply this disabling solution in a child theme. That’s why i have shared this Dazzling theme post solution. It is the same answer for both Sparkling & Dazzling.

@hesham Yes you are right the answer to this question is to change the theme function sparkling_featured_slider as described in my shared thread but to do this from child theme the steps described in the topic shared by you has to follow.