Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

Why is layerslider WP plugin including js twice in Sterling theme WordPress

  • SOLVED

The issue is on a wordpress site that has the Sterling Theme by Truethemes installed.

We are using the layerslider plugin by Kreatura Media, which comes bundled with the Sterling Theme.

The layerslider is inlcuded on both these pages:

http://andrewroberts.com.au

and

http://andrewroberts.com.au/about-andrew-roberts/

It works as expected in both Chrome and Safari, however, it doesn’t work in Firefox.

I checked in firebug to see if I could see an issue and it looks like the layerslider js is being included twice. (see screenshot attached)

Can you see what is wrong?

Here is the full list of installed plugins ...

Akismet
Custom Latest Blog Posts Shortcode with Featured Image Thumbnail. For use with Sterling Theme only.
Genki Youtube Comments
Jetpack by WordPress.com
JW Player Plugin for WordPress
LayerSlider WP
Login LockDown
ManageWP - Worker
MaxBlogPress Ninja Affiliate
MaxBlogPress Ping Optimizer
PilotPress
WordPress SEO
wpcu3er

Answers (1)

2013-02-01

Kiet Luong answers:

try it in your style.css

.ls-layer{
display: block !important;
}


howtowebinar comments:

Tried this, but still doesn't return the expected result in Firefox. Although a quick check with firebug shows that layerslider js is only appearing once.


Kiet Luong comments:

can you go to add new more slide ? then see how it work


Kiet Luong comments:

if possible, allow me login to your site: I'm available on skype: kioluong


howtowebinar comments:

OK - can we chat on Skype - I have sent a contact request


howtowebinar comments:

OK - I set up another test slider without the opt-in form, and it works.



The issue must be the opt-in form, because the first two example still don't work.

The opt-in form contains javascript and is the code generated by our autoresponder service which is Office Autopilot.

I will need a way to include the opt-in form in the slider though

Any suggestions?


howtowebinar comments:

Hi - looks like you fixed the issue ... Thank you.

Can you let me know what you changed to fix it?