• Resolved mattoliver

    (@mattoliver)


    Hello there – great plugin, i’m just encountering a few issues.

    I am using elementor to build the pages and I can see the carousels working with the shortcodes in the preview. The issue is when I look at the pages without being logged in the carousels don’t show. (There is supposed to be one next to ‘live opportunities’ and also half way up the ‘our story’ page).

    I have noticed the issue is that there is an error in the javascript – (Uncaught ReferenceError: jQuery is not defined.)

    This might be because the script loads before jquery loads in the footer. One way around it is to replace the $ with jQuery but I don’t have much control over that with your plugin. I have also tried to force javascript to be pulled in via the header which caused more issues.

    Please can you show me how to fix this issue as a matter of urgency. Otherwise I might have to rethink it with a different plugin. Really appreciate it – thank you.

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author thehowarde

    (@thehowarde)

    You can change entirely the script called… however, the method in which I used the $ as an alias for “jQuery” is perfectly acceptable.

    For some reason, your theme has jQuery enqueued in the footer rather than in the head, which is where it is by default in WordPress.

    The fix for this would be don’t defer jQuery. Or you can use the filter dd_filter_owl_carousel_script and return the output to the wp_footer instead.

    If this plugin is not for you… sorry.

    Thread Starter mattoliver

    (@mattoliver)

    Thanks for the prompt reply! It’s a great plugin, works well and you definitely guided me the right way – I used autoptimize to defer all inline scripts to the footer. Thanks!

    Hello. I’m having the same issue. The website is builded with a custom theme. I can’t access to the functions.php. There is a way to fix this issue without editing any file of the theme? Thanks

    Plugin Author thehowarde

    (@thehowarde)

    Hi @vickkmartinez – If jQuery isn’t in the header of your theme, it would cause other problems as well. I can’t say specifically how your website works, or that my plugin is compatible with all themes.

    I’m not sure because I didn’t developed this theme and I don’t have ftp access… This is the website https://dalemasafro.org/

    In the bottom under “Alianzas” should appear the carousel but only works when i’m loggedin and I don’t see any error in the console

    Plugin Author thehowarde

    (@thehowarde)

    @vickkmartinez can you try installing this version of the plugin (dev version) https://www.dropbox.com/s/e8hpasuh8qahxvk/post-carousels-1.4.2.beta.zip?dl=0

    Let’s see if this fixes it for you.

    No it didn’t work ??

    Thanks for your help

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Carousels go missing on published pages’ is closed to new replies.