WordPress.org

Ready to get started?Download WordPress

Forums

Meteor Slides
[resolved] Meteor Slides breaks my themes slider (2 posts)

  1. lindsredding
    Member
    Posted 3 years ago #

    Hi Josh,

    I've been looking for a slideshow widget for my sidebar and having tried a couple, like your approach the best.

    Installs and works a treat, except for one snag. When I enable Meteor Slides, it breaks the content slider in my WordPress theme

    I'm afraid i'm no coder, so don't have a clue where to start trying to troubleshoot this - was hoping you might be able to suggest something.

    Many thanks

    Linds
    Auckland, New Zealand

    http://wordpress.org/extend/plugins/meteor-slides/

  2. Josh Leuze
    Member
    Plugin Author

    Posted 3 years ago #

    Hi Linds, thanks for trying Meteor Slides.

    The problem is that your theme is loading its JavaScript files incorrectly and they are conflicting with Meteor Slide's JavaScript.

    This is a commercial theme and I don't have access to it. But from looking at the demo, it is loading an extra copy of jQuery for no reason and this is probably what is causing it to break.

    You can see here that it is loading jQuery remotely from Google's servers:

    <script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js?ver=3.0'></script>

    This is unnecessary because WordPress already uses jQuery and it is included in the WordPress install. Meteor Slides loads the version that is within WordPress. You could just delete that line from your header and Meteor Slides will load jQuery, which your theme and this plugin can both use.

    Or if you want to ensure that your theme works with or without Meteor Slides, delete that line, and add this line here to your header:

    <?php wp_enqueue_script("jquery"); ?>

    Make sure you put that right above this line of code:

    <?php wp_head(); ?>

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic