Hello, The Royal Slider in my Sticky sidebar suddenly stopped working

pixel4you.corp's Avatar

pixel4you.corp

12 Jan, 2022 03:42 PM

The Royal Slider in my Sticky sidebar suddenly stopped working!

There was no plugin installed or anything else?

Look here in sidebar:
https://www.worlds-finest-wool.com/srinagar/

in google developer console i see:

jquery.min.js?ver=3.6.0:2 Uncaught TypeError: $(...).royalSlider is not a function
    at HTMLDocument.<anonymous> (www.worlds-finest-wool.com/:3261:26)
    at e (jquery.min.js:2:30038)
    at t (jquery.min.js:2:30340)

Happend Suddenly - ANY IDEA?

Thank YOU

  1. Support Staff 1 Posted by Dmytro Semenov on 13 Jan, 2022 08:14 AM

    Dmytro Semenov's Avatar

    Hi,

    It seems files are not included, go to RoyalSlider Settings page and check an option to include js/css files on all pages. http://help.dimsemenov.com/kb/wordpress-royalslider-tutorials/wp-in... Not sure why it happened suddenly for you, possibly you had another gallery on the page?

  2. 2 Posted by pixel4you.corp on 13 Jan, 2022 03:15 PM

    pixel4you.corp's Avatar

    The Royal slider works on all pages perfect!

    it only does not work when i put it in the Wordpress sidebar!

    The strange thing is that it also worked in the Wordpress sidebar before
    and it suddenly stopped working. And there were no changes like wordpress update or plugin change!

    Very strange

    But let me check your solution - it seems files are only not included in sidebar suddenly!

  3. 3 Posted by pixel4you.corp on 13 Jan, 2022 03:40 PM

    pixel4you.corp's Avatar

    OK your solution worked

    I load the Java and CSS files on every page now - even when i don't use the slider on some pages!

    This does not cause any conflicts or disadvantages?

  4. Support Staff 4 Posted by Dmytro Semenov on 13 Jan, 2022 05:36 PM

    Dmytro Semenov's Avatar

    There is a minor performance impact, since files are cached.

  5. 5 Posted by pixel4you.corp on 13 Jan, 2022 09:45 PM

    pixel4you.corp's Avatar

    Yes This is expected!

    THANK YOU VERY MUCH for your great support again! :-)

  6. pixel4you.corp closed this discussion on 13 Jan, 2022 09:46 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac