Solved

Wordpress Theme JQuery conflict with New Royal Slider Plugin

Posted on 2014-11-27
2
270 Views
Last Modified: 2014-11-28
Hi,
I have installed a royal slider plugin for wordpress but its conflicting with my theme and reporting the following error:

Uncaught ReferenceError: slider is not defined

I have deactivated all the plugins and the error is still there. I switched themes and the error goes away so i know the issue lies within the theme being used i just cant find what i need to do.

Any help would be much appreciated.

Heres a link to the site in question http://www.timelapseframes.co.uk.gridhosted.co.uk/

Many Thanks,

Andrew
0
Comment
Question by:Andy6350
2 Comments
 
LVL 82

Accepted Solution

by:
leakim971 earned 500 total points
ID: 40469721
replace :
slider.ev.on('rsAfterSlideChange', function() {
    slider.playVideo();
});

Open in new window

by :
sliderInstance.ev.on('rsAfterSlideChange', function() {
    sliderInstance.playVideo();
});

Open in new window

0
 

Author Closing Comment

by:Andy6350
ID: 40470266
Quick response, spot on!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
The purpose of this video is to demonstrate how to manually back up a WordPress Database. This will be demonstrated using a Windows 8 PC. The Host used will be IPage.com Log into your Hosting account. IPage will be used for demonstration : Locat…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now