![Check out Enfold](https://kriesi.at/wp-content/themes/kriesi/images/banner-enfold.jpg)
Tagged: Layer Slider, load speed
-
AuthorPosts
-
January 24, 2014 at 7:43 am #214302
Hi Guys,
I have just finished my site – http://jonnyfreesh.com – and I removed the mobile redirect of the home page that I had previously set up, along with Layer Slider because I don’t need it. I thought that doing these two things would help my load speeds but at first it seemed to make them worse. Now they seemed to have steadied a bit but I am concerned there are still some lingering issues.
So I deactivated and deleted layer slider from the plugins tab, but it still shows up in my WP back end. Then I added this code to my functions.php – add_theme_support( ‘deactivate_layerslider’ ); – but the layer slider tab still shows up in the left column of my wp backend. I was hoping you could check to see if I’ve disabled it properly, because I am concerned I haven’t and that it is showing still in the template files and causing bad requests and so reducing load speeds.
I also went through my css to get rid of any unnecessary code I wasn’t using, and found this code that I didn’t remember using and couldn’t figure out what it was doing. Maybe you can tell me :
::-webkit-input-placeholder { /* WebKit browsers */
color: white
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
color: white;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
color: white;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
color: white;
}Lastly, if there are any general tips you guys have on reducing loadspeeds or if there is any documentation about reducing load speeds using Enfold it would be very helpful.
Thanks
Jonny
January 26, 2014 at 10:16 pm #215075Hey deyowulf!
As far as I know this is the only thing Kriesi uses to help the load out of the demo: http://wordpress.org/plugins/bwp-minify/
With not using LayerSlider it shouldn’t be impacting the front end load time. Other than that its the standard things like keeping your image sizes small and that should put you at a good point without any issues on load times.
Best regards,
DevinJanuary 28, 2014 at 1:15 pm #215751Hi Devin,
What about the CSS?
Or being able to confirm if I’ve properly uninstalled/deactivated layer slider? It’s still showing up in my WP back end despite deactivating and deleting it from my plugins and also adding the deactivate function to my functions.php…
Thanks
Jonny
January 28, 2014 at 4:14 pm #215850Hey!
Please edit functions.php, find this code:
if(!current_theme_supports('deactivate_layerslider')) require_once( 'config-layerslider/config.php' );//layerslider plugin
Replace it with:
//if(!current_theme_supports('deactivate_layerslider')) require_once( 'config-layerslider/config.php' );//layerslider plugin
Remove browser cache then reload the page. If you have a cache plugin, flush the settings.
Cheers!
IsmaelJanuary 30, 2014 at 8:11 am #216840Hi Ismael,
I added it to my functions.php in my child theme – didn’t seem to do anything I can still see the layer slider tab in my wp backend. Do i need to edit the original functions.php file? I would rather do this through a child theme.
And for the third time, can you please tell me what that CSS code does?
Thanks
Jonny
January 31, 2014 at 5:57 am #217291The CSS changes the color of placeholder text in text fields. In general we are not a resource for identifying CSS.
If you are not using LayerSlider on a page then it has no impact at all on your front end. It doesn’t matter if its disabled through the theme or not as I first said above.
I can’t say why it would be showing after telling the theme not to load it but if you aren’t using it then it isn’t effecting your site.
January 31, 2014 at 5:58 am #217293Ok thanks Devin
-
AuthorPosts
- The topic ‘Remove Layer Slider & Page Speed Issues’ is closed to new replies.