Loading swiper.min.js and jquery.min.js from CDN

This topic has 7 replies, 3 voices, and was last updated 1 years, 4 months ago ago by Tony Rodriguez

  • Avatar: Krzysztof
    Krzysztof
    Participant
    December 30, 2022 at 13:18

    Hi
    Is there any way to block Xstore loading swiper and jquery js libraries ?

    I see in the theme settings the following option: “Disable Theme Swiper JS Library” but even if turned on, it is still loaded from /wp-content/themes/xstore/js/modules/swiper.min.js location.

    I see no similar option for jquery.

    The reason is that I would like to load it manually from cdnjs.cloudflare.com .. as per my tests I should be able to save approximately 0,5s on page loading – I hope 😉

    6 Answers
    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    December 30, 2022 at 14:51

    Hello, @Krzysztof,

    Actually, in the theme settings, there is only this option “Disable Theme Swiper JS Library” regarding the swiper library only. There is nothing else that I can tell you so the changes you want requires customization and we cannot cover the customization issues in our support policy. If you want paid Customization services submit a customization request to WPKraken team.

    Regards 8Themes Team.

    Avatar: Krzysztof
    Krzysztof
    Participant
    December 30, 2022 at 14:54

    ok but “Disable Theme Swiper JS Library” seems does not work as designed. Even if option turned on, swiper js is still loading.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    December 31, 2022 at 08:59

    Hello,

    Please describe the situation and the desired result in more detail with screenshots. Also, provide URL of your site and temporary wp-admin access via the Private Content area. Then I will be able to pass your question to our dev team.

    Regards

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    December 31, 2022 at 09:11

    Hello,

    If you are using Elementor, please make sure – https://prnt.sc/hJtKhb-njbHp

    Regards

    Avatar: Krzysztof
    Krzysztof
    Participant
    January 1, 2023 at 22:33

    Thank you … “Disable Theme Swiper JS Library” works now 🙂

    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    January 2, 2023 at 06:38

    Hello, @Krzysztof,

    You’re Most Welcome!!
    And we are thrilled that our proposed solution worked for you.

    Well, Thanks for contacting us.
    Have a nice day. 🙂

    Topic Closed.
    Regards 8Themes Team.

  • Viewing 7 results - 1 through 7 (of 7 total)

The issue related to '‘Loading swiper.min.js and jquery.min.js from CDN’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.