Slider JS

This topic contains 4 replies, has 2 voices, and was last updated by  Puro Support 2 years, 7 months ago.

  • Author
    Posts
  • #2756

    Aivaras K
    Participant

    Hi,
    i want speed up my homepage. I have 3 ccs files and 18 JS – many of which i want to switch off. I found:
    /wp-content/themes/ultra/js/jquery.flexslider.min.js and /wp-includes/js/jquery/ui/slider.min.js – can i dissable it?

    #2757

    Puro Support
    Keymaster

    Hi 🙂

    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.

    #2760

    Puro Support
    Keymaster

    Here 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.

    #2762

    Aivaras K
    Participant

    Thx 🙂

    #2778

    Puro Support
    Keymaster

    For sure 🙂 Glad we could help.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.

Scroll to top