• Hello all,

    I am running a something called Lightbox Evolution on my WordPress install. In its instructions it says to place the following in the head:

    <script type="text/javascript" src="js/jquery.min.js"></script>
    
    <link rel="stylesheet" type="text/css" href="js/lightbox/themes/default/jquery.lightbox.css" />
    <!--[if IE 6]>
    <link rel="stylesheet" type="text/css" href="js/lightbox/themes/default/jquery.lightbox.ie6.css" />
    <![endif]-->
    
    <script type="text/javascript" src="js/lightbox/jquery.lightbox.min.js"></script>

    It then says put the following script just before the body closing tag:

    <script type="text/javascript">
      jQuery(document).ready(function($){
        $('.lightbox').lightbox();
      });
    </script>

    Both have been accomplished but the lightbox isn’t firing.

    I believe it’s because there are two instances of jquery…the one that comes with WordPress core and the jquery file that comes with Lightbox Evolution.

    If I remove the jquery file that comes with Lightbox Evolution, it still doesn’t work correctly.

    I’ve asked the developer for help but no joy.

    To see the actual page with issue, go here (it’s behind a wall currently)
    After you view the page, go to the biography.

    On the biography page, you will see an image of man on horse of which is supposed to come up in a lightbox when clicked on.

    Any thoughts? Thanks in advance

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator cubecolour

    (@numeeja)

    commercial products cannot be supported here, you need to contact the vendor of your plugin for support.

    It sounds like you may be trying to use a standalond version of the script rather than a WordPress plugin. Scripts should be enqueued rather than called directly.

    Thread Starter vitamineg

    (@vitamineg)

    ooops… my bad. thanks. Ill head to another forum.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Two Instances of jquery’ is closed to new replies.