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

    (@jamesdbruner)

    Okay so you’re loading the vegas function twice which is atleast part of the problem. Check on the vegas settings page and see if the global option is on and try turning that off. If it’s still blank I would ask if you have do_shortcode in the header AND if you’re using the shortcode in the page too. I hope that makes sense and hopefully that’ll help! Let me know how that goes.

    Thread Starter sarahwnyc

    (@sarahwnyc)

    Thanks for having a look. I commented out the do_shortcode in the header and left the shortcode in the page content for my homepage, and it’s still not working even after trying to turn off the global option. I tried removing the shortcode in the page content and uncommenting the do_shortcode in the header, and no luck.

    I checked the code being generated, and it is firing the jQuery, it’s just not displaying the photo.

    Plugin Author jamesdbruner

    (@jamesdbruner)

    So from what I can tell, right now…
    This is up in the header

    <script>
    jQuery( function() {
      jQuery.vegas('slideshow', {
      delay:1000,
      backgrounds:[
    { src:'http://dave.capiscounited.com/wp-content/uploads/2013/08/falcon-web3.jpg', fade:1000 },  ]
    })('overlay', {
       src:''
    })
    });
    </script>

    and then this is called down farther in the body.

    <script>
    jQuery( function() {
      jQuery.vegas('slideshow', {
      delay:1,
      backgrounds:[
    { src:'http://dave.capiscounited.com/wp-content/uploads/2013/08/falcon-web.jpg', fade:1 },{ src:'http://dave.capiscounited.com/wp-content/uploads/2013/08/falcon-web1.jpg', fade:1 },{ src:'http://dave.capiscounited.com/wp-content/uploads/2013/08/falcon-web2.jpg', fade:1 },  ]
    })('overlay', {
       src:''
    })
    });
    </script>

    Also another issue is that vegas.js isn’t being enqueued at all. If you want I can take a closer look if you don’t mind emailing me a username and password that has admin privileges. My email address is jamesdbruner@gmail.com

    Thread Starter sarahwnyc

    (@sarahwnyc)

    Thanks James, I just emailed you the info.

    Plugin Author jamesdbruner

    (@jamesdbruner)

    I’m marking this as resolved since it’s a theme related issue and not an issue with the plugin itself.

    Thread Starter sarahwnyc

    (@sarahwnyc)

    Thanks for your help, James!

    Plugin Author jamesdbruner

    (@jamesdbruner)

    You’re welcome! I’m sorry I couldn’t fix the issue for you! 🙁

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Vegas Slider not working on site’ is closed to new replies.