• Hi Support, i have add plugin to my side, but when i add new slider, but i copy shortcode to code page:

    <?php echo do_shortcode(‘[slide-anything id=”3113″]’); ?>

    not show slide, not show error. i have checked: DOMContentLoaded event, but not working.

    i have ctr+shift+j in chrome & i see error:
    “Uncaught TypeError: jQuery(…).owlCarousel is not a function
    at HTMLDocument.<anonymous> ((index):381)
    at i (jquery.min.js:2)
    at Object.fireWith [as resolveWith] (jquery.min.js:2)
    at Function.ready (jquery.min.js:2)
    at HTMLDocument.K (jquery.min.js:2)

    javascript error with red line:

    <script type=’text/javascript’>
    document.addEventListener(‘DOMContentLoaded’, function() {
    jQuery(‘#slider_3113’).owlCarousel({
    items : 1,
    smartSpeed : 200,
    autoplay : true,
    autoplayTimeout : 5000,
    autoplayHoverPause : true,
    smartSpeed : 200,
    fluidSpeed : 200,
    autoplaySpeed : 200,
    navSpeed : 200,
    dotsSpeed : 200,
    loop : true,
    nav : true,
    navText : [”,”],
    dots : true,
    responsiveRefreshRate : 200,
    slideBy : 1,
    mergeFit : true,
    autoHeight : false,
    mouseDrag : false,
    touchDrag : true
    });
    jQuery(‘#slider_3113’).css(‘visibility’, ‘visible’);
    sa_resize_slider_3113();
    window.addEventListener(‘resize’, sa_resize_slider_3113);
    function sa_resize_slider_3113() {
    var min_height = ’50’;
    var win_width = jQuery(window).width();
    var slider_width = jQuery(‘#slider_3113’).width();
    if (win_width < 480) {
    var slide_width = slider_width / 1;
    } else if (win_width < 768) {
    var slide_width = slider_width / 1;
    } else if (win_width < 980) {
    var slide_width = slider_width / 1;
    } else if (win_width < 1200) {
    var slide_width = slider_width / 1;
    } else if (win_width < 1500) {
    var slide_width = slider_width / 1;
    } else {
    var slide_width = slider_width / 1;
    }
    slide_width = Math.round(slide_width);
    var slide_height = ‘0’;
    if (min_height == ‘aspect43’) {
    slide_height = (slide_width / 4) * 3; slide_height = Math.round(slide_height);
    } else if (min_height == ‘aspect169’) {
    slide_height = (slide_width / 16) * 9; slide_height = Math.round(slide_height);
    } else {
    slide_height = (slide_width / 100) * min_height; slide_height = Math.round(slide_height);
    }
    jQuery(‘#slider_3113 .owl-item .sa_hover_container’).css(‘min-height’, slide_height+’px’);
    }
    });

    please help me. thanks so much

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author simonpedge

    (@simonpedge)

    Looking at the page link you provided…
    If you right-click & ‘view source’ and then search for ‘jquery.js’, nothing is found. On WP sites you normally have a line like:
    <script type='text/javascript' src='https://edgewebpages.com/wp-includes/js/jquery/jquery.js?ver=1.12.4-wp'></script>

    jQuery is a requirement for WordPress sites – so this is bit strange…
    Maybe your theme (or another plugin you have installed) has combined all JavaScript/jQuery into a single file (for performance). If this is the case, then disable this.

    Thread Starter fashions108

    (@fashions108)

    Thanks, but i don’t know which plugin combine all file javascript.
    The plugin Slide Anything have support qtranslate for multilanguage?
    can i copy your script to my source page:

    <script type=’text/javascript’ src=’https://edgewebpages.com/wp-includes/js/jquery/jquery.js?ver=1.12.4-wp’></script&gt;

    my all plusgin:
    Advanced Custom Fields PRO
    Advanced Custom Fields: qTranslate
    All-in-One Video Gallery
    Counter Number Showcase
    Datacontact
    Display Posts
    Duplicate Post
    Easy WP SMTP
    Elementor
    getidpage
    Google Maps Widget
    Google XML Sitemaps
    Integration: Yoast SEO & qTranslate-X
    Popup Maker
    Post Types Order
    qTranslate-X
    Relevanssi
    Smart Slider 3
    TinyMCE Advanced
    Ultimate Addons for Gutenberg
    WP Google Maps
    WP Media folder
    Yoast SEO

    thanks so much

    Plugin Author simonpedge

    (@simonpedge)

    Try switching your theme to another theme (e.g. to the WP 2019 theme) to test whether you still get this JavaScript error. If the JS error dissapears then the issue is with your theme – in which case look into your theme options.

    If its not your theme, then disable all your plugins, and activate them one-by-one until the JS error appears.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Plugin not working’ is closed to new replies.