• Resolved hermanusvetonline

    (@hermanusvetonline)


    Hi there,

    My slider was working beautifully and now seems to have stopped working?? this is the error code I’m getting

    jQuery(document).ready(function($){var shs1802 = $(“#slider-1802″); shs1802.imagesLoaded(function(){ shs1802.superHeroSlider({theme:”shs-theme”,baseClass:”shs-carousel”,singleItem:true,addClassActive:true,transitionStyle:”fade”,autoPlay:7000,navigation:true,navigationText:[“”,””],pagination:true,beforeInit:function(el){ var slides = el.find(“.super-hero-slide”).length; },afterInit:function(el){ var currentItem = el.find(“.shs-item.active”); var itemID = “#”+currentItem.find(“.super-hero-slide”).attr(“ID”); currentItem.find(“.super-hero-caption-wrapper”).addClass(“fadeIn animated”); var currentCaption1 = currentItem.find(“.caption-1”); var captionAnimation1 = currentCaption1.data(“animation”); currentCaption1.addClass(captionAnimation1 + ” animated”); var currentCaption2 = currentItem.find(“.caption-2”); var captionAnimation2 = currentCaption2.data(“animation”); currentCaption2.addClass(captionAnimation2 + ” animated”); var currentCaption3 = currentItem.find(“.caption-3”); var captionAnimation3 = currentCaption3.data(“animation”); currentCaption3.addClass(captionAnimation3 + ” animated”); // Clear any styles shs_resize_slide( itemID, currentItem ); },beforeMove:function(el){ var oldItem = el.find(“.shs-item.active”); var itemID = “#”+oldItem.find(“.super-hero-slide”).attr(“ID”); oldItem.find(“.super-hero-caption-wrapper”).removeClass(“fadeIn animated”); var oldCaption1 = oldItem.find(“.caption-1”); var oldCaption2 = oldItem.find(“.caption-2”); var oldCaption3 = oldItem.find(“.caption-3”); var captionAnimation1 = oldCaption1.data(“animation”); oldCaption1.removeClass(captionAnimation1); oldCaption1.removeClass(“animated”); var captionAnimation2 = oldCaption2.data(“animation”); oldCaption2.removeClass(captionAnimation2); oldCaption2.removeClass(“animated”); var captionAnimation3 = oldCaption3.data(“animation”); oldCaption3.removeClass(captionAnimation3); oldCaption3.removeClass(“animated”); // Remove any styles we might have added in afterMove $(itemID+” .super-hero-image img”).removeAttr(“style”); },afterMove:function(el){ var newItem = el.find(“.shs-item.active”); var itemID = “#”+newItem.find(“.super-hero-slide”).attr(“ID”); newItem.find(“.super-hero-caption-wrapper”).addClass(“fadeIn animated”).css(“animation-duration”,5); var newCaption1 = newItem.find(“.caption-1”); var newAnimation1 = newCaption1.data(“animation”); newCaption1.addClass(newAnimation1 + ” animated”); var newCaption2 = newItem.find(“.caption-2”); var newAnimation2 = newCaption2.data(“animation”); newCaption2.addClass(newAnimation2 + ” animated”); var newCaption3 = newItem.find(“.caption-3”); var newAnimation3 = newCaption3.data(“animation”); newCaption3.addClass(newAnimation3 + ” animated”); // Clear any styles shs_resize_slide( itemID, newItem ); },}); $(“.super-hero-big-wrapper”).removeClass(“super-hero-spinning”); $(“.shs-spinner”).fadeOut(150,function(){ $(this).remove(); }); $(“body”).addClass(“shs-loaded”); }); $(window).resize(function(){ shs1802.data(“superHeroSlider”).destroy(); shs1802.superHeroSlider({theme:”shs-theme”,baseClass:”shs-carousel”,singleItem:true,addClassActive:true,transitionStyle:”fade”,autoPlay:7000,navigation:true,navigationText:[“”,””],pagination:true,beforeInit:function(el){ var slides = el.find(“.super-hero-slide”).length; },afterInit:function(el){ var currentItem = el.find(“.shs-item.active”); var itemID = “#”+currentItem.find(“.super-hero-slide”).attr(“ID”); currentItem.find(“.super-hero-caption-wrapper”).addClass(“fadeIn animated”); var currentCaption1 = currentItem.find(“.caption-1”); var captionAnimation1 = currentCaption1.data(“animation”); currentCaption1.addClass(captionAnimation1 + ” animated”); var currentCaption2 = currentItem.find(“.caption-2”); var captionAnimation2 = currentCaption2.data(“animation”); currentCaption2.addClass(captionAnimation2 + ” animated”); var currentCaption3 = currentItem.find(“.caption-3”); var captionAnimation3 = currentCaption3.data(“animation”); currentCaption3.addClass(captionAnimation3 + ” animated”); // Clear any styles shs_resize_slide( itemID, currentItem ); },beforeMove:function(el){ var oldItem = el.find(“.shs-item.active”); var itemID = “#”+oldItem.find(“.super-hero-slide”).attr(“ID”); oldItem.find(“.super-hero-caption-wrapper”).removeClass(“fadeIn animated”); var oldCaption1 = oldItem.find(“.caption-1”); var oldCaption2 = oldItem.find(“.caption-2”); var oldCaption3 = oldItem.find(“.caption-3”); var captionAnimation1 = oldCaption1.data(“animation”); oldCaption1.removeClass(captionAnimation1); oldCaption1.removeClass(“animated”); var captionAnimation2 = oldCaption2.data(“animation”); oldCaption2.removeClass(captionAnimation2); oldCaption2.removeClass(“animated”); var captionAnimation3 = oldCaption3.data(“animation”); oldCaption3.removeClass(captionAnimation3); oldCaption3.removeClass(“animated”); // Remove any styles we might have added in afterMove $(itemID+” .super-hero-image img”).removeAttr(“style”); },afterMove:function(el){ var newItem = el.find(“.shs-item.active”); var itemID = “#”+newItem.find(“.super-hero-slide”).attr(“ID”); newItem.find(“.super-hero-caption-wrapper”).addClass(“fadeIn animated”).css(“animation-duration”,5); var newCaption1 = newItem.find(“.caption-1”); var newAnimation1 = newCaption1.data(“animation”); newCaption1.addClass(newAnimation1 + ” animated”); var newCaption2 = newItem.find(“.caption-2”); var newAnimation2 = newCaption2.data(“animation”); newCaption2.addClass(newAnimation2 + ” animated”); var newCaption3 = newItem.find(“.caption-3”); var newAnimation3 = newCaption3.data(“animation”); newCaption3.addClass(newAnimation3 + ” animated”); // Clear any styles shs_resize_slide( itemID, newItem ); },}); });});

    There are no images shown or even the basic outline of the slider.. just this error code.

    Any help would be appreciated, the site is supposed to go live today…
    Is it possible that the error is caused by the new version of wordpress? I did not do any manual updates but I think wordpress may have done an automatic one?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Gareth

    (@catapult_themes)

    Hi – can you send me a link to your site? You can use info[at]catapultthemes.com if you prefer.

    Gareth

    Thread Starter hermanusvetonline

    (@hermanusvetonline)

    Hi – it’s not live yet though? I can send a screen shot.. would that help?

    Thread Starter hermanusvetonline

    (@hermanusvetonline)

    Thank you for the great support via email, working perfectly again. Wish more companies had support like this!

    Plugin Author Gareth

    (@catapult_themes)

    This was caused by an update to WooCommerce 3.2.2 which was stripping out the script tags from the shortcode on the shop page.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Slider Error’ is closed to new replies.