Hello,
I need your help to figure out to fix this problem: I put a layer slider in the footer but in some pages it doesn’t work, like here:
http://www.dentistiriminidestradelporto.it/dott-michel-dibb/
in the home page and in other pages it’is loaded correclty
Do you know why?
Hi anderandreani!
So you have a LayerSlider in that page but it’s not displaying?
Let’s try the following.
1. Deactivate all plugins.
2. Completely delete Enfold from your WordPress theme directory before downloading + uploading a fresh copy from themeforest.
If that does not help then send us a WordPress login and we’ll take a closer look.
Cheers!
Elliott
Hi!
That’s strange, could you please try to update WordPress to the latest version to see if that helps?
Regards,
Rikard
Ok I did but nothing changed..
Hey!
Sorry, it looks like the LayerSlider is not meant to be used in the footer. It’s displaying on your homepage because your using it in the page content as well. You can try changing lines 181 – 185 in the /enfold/config-templatebuilder/avia-shortcodes/slideshow_layerslider.php file from this.
global $post;
if(!empty($post->post_content) && strpos($post->post_content, "[layerslider") !== false )
{
return true;
}
To this.
//global $post;
//if(!empty($post->post_content) && strpos($post->post_content, "[layerslider") !== false )
//{
return true;
//}
Cheers!
Elliott
It works! Thank you