- This topic has 4 replies, 2 voices, and was last updated 8 years, 11 months ago by Puro Support.
Tagged: remove script ultra
- AuthorPosts
- November 29, 2015 at 11:00 pm #2756
Aivaras KParticipantHi,
i want speed up my homepage. I have 3 ccs files and 18 JS – many of which i want to switch off. I found:
//puro-4401.kxcdn.com/wp-content/themes/ultra/js/jquery.flexslider.min.js and //puro-4401.kxcdn.com/wp-includes/js/jquery/ui/slider.min.js – can i dissable it?November 29, 2015 at 11:10 pm #2757
Puro SupportKeymasterHi 🙂
Sure. I’ll create a child theme for you tomorrow to remove the Ultra FlexSlider file.
The second file you mentioned isn’t in the theme it’s in the core. Most likely it’s required as a dependency of a plugin that’s in use.
November 30, 2015 at 9:24 pm #2760
Puro SupportKeymasterHere we go:
https://purothemes.com/wp-content/uploads/2015/11/ultra-child-remove-flexslider.zip
If you aren’t already using a child theme then you can download the ZIP and install from Appearance > Themes > Add New: Activate.
When activating a child theme it’s normal for menu location and Customizer > Theme Design settings to reset. Unfortunately, they’ll need to be reapplied.
The child theme will dequeue the ultra/js/flexslider.min.js file.
Let me know how it goes.
If you’re already using a child theme, let me know and we’ll integrate this change into your existing child theme.
December 1, 2015 at 12:38 am #2762
Aivaras KParticipantThx 🙂
December 3, 2015 at 5:52 pm #2778
Puro SupportKeymasterFor sure 🙂 Glad we could help.
- AuthorPosts
You must be logged in to reply to this topic.