Solved

Wordpress Theme JQuery conflict with New Royal Slider Plugin

Posted on 2014-11-27
2
272 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Introduction JSON is an acronym for JavaScript Object Notation.  It is a text-string data transport mechanism, capable of representing simple or complex data structures in a consistent and easy-to-read manner.  Similar in concept to XML, but more e…
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!
The purpose of this video is to demonstrate how to insert an Iframe into WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Open Page or Post…
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…

816 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

10 Experts available now in Live!

Get 1:1 Help Now