Hello Anatole,
As you don’t want to remove link manually. you can remove link by doing small change in core plugin file.
Go to smooth-slider >> css >> skins >> default >> functions.php
on line no. 126 you can find 'permalink' => $permalink
in $img_args array. change it to 'permalink' => ''
.
Let me know in case of any issue.
Thank you!
Best Regards,
Rahul
Thank’s for this quick answer Rahul,
It’s well removing link but the problem is that it’s also removing link on posts / pages slides…
Thank’s again, I hope you have a solution (I keep looking in function.php, maybe I’ll find the answer by myself).
Best,
Anatole
Hi Anatole,
I have created scenario on my local server. we are removing argument which passed to images. so it will not remove link to Post/Pages.
Let me know which slider type you are using i.e custom slider, recent slider etc. and what changes you have made into functions.php.
Regards,
Rahul
Hey Rahul,
I solved my problem!
For anyone needing the same issue (or for you Rahul if you want to make a plugin update with the option to not link images by default):
Do not change the line 126 but modify line 27:
from if($sslider_nolink==’1′){
to if($sslider_nolink==’1′ || get_post_type($post) == ‘attachment’){
Thank’s again Rahul!
Best,
Anatole
Hello Anatole,
Glad to know that your problem is solved.
But this will not work in case of recent or category slider. if you are using custom slider then it’s fine.
Thanks!
Best Regards,
Rahul
Yes i am.
Thank’s for the tips and advice!
Best,
Anatole