I was thinking..
you could wrap the slider-loading in a div with class “hidden” ( => see not shown) in that case,
something achievable adding the following in your child-theme functions.php:
https://gist.github.com/eri-trabiccolo/af29db432af43acdc8ae#file-hidden-slider-loading-gif-js-disabled-php
What do you think?
d4z,
you are the best. Works perfectly!
Should be included in customizr by default.
Eheh , thanks 🙂
Anyway I see that that solution looks like not html valid.
I really don’t know how much this can be considered an issue (it might be a parser issue), but users might complain about that. So another solution is needed ..
Hm okay,
so i better stick to
/*
* Change source of loader image
*/
add_filter('tc_slider_loader_src', 'slider_loader_src');
function slider_loader_src(){
return 'http://path/to/image.jpg';
}
or
/*
* Hide slider loader
*/
add_filter('tc_display_slider_loader', 'display_slider_loader');
function display_slider_loader(){
return false;
}
?
BTW: Does an overview for all possible hooks supported by customizr exist?
Hello Martonno,
in the next theme release you’ll find a “different” solution to solve this, as I told you above 😉