WordPress.org

Ready to get started?Download WordPress

Forums

Shutter Reloaded
[resolved] Shutter Reloaded and Infinite Scroll (8 posts)

  1. sosukeinu
    Member
    Posted 2 years ago #

    Hello, I'm trying to get Shutter Reloaded to work with Infinite Scroll. Infinite scroll has a place to insert js to call each time a new page is called in. On Infinite Scroll's own home page, it lists the js for Shutter Reloaded to call as shutterReloaded.Init('sh');
    Shutter Reloaded is working on the first page, but not on subsequent pages. I have confirmed that the image links do have a class of shutter, but they do not load properly. Any help in this matter would be greatly appreciated. Thank you.

    http://wordpress.org/extend/plugins/shutter-reloaded/

  2. sosukeinu
    Member
    Posted 2 years ago #

    Found the answer myself. They correct code is try{shutterReloaded.init();}catch(e){}

  3. sosukeinu
    Member
    Posted 2 years ago #

    ok, finally got it to work with shutterReloaded.init(); However, it only works when the user is logged in. Any thoughts on why this would happen? Thank you.

  4. beaver6813
    Member
    Posted 2 years ago #

    Does infinite-scroll only work when users are logged in or is it just the loading of shutter on subsequent pages? Do you have an example I can look at? :)

  5. sosukeinu
    Member
    Posted 2 years ago #

    Yes, please. Here is an example: http://pasceverbo.com/fiction/inspiration I could really use some help debugging this one. Infinite scroll loads fine. And shutter reloaded loads fine on the first page whether I'm signed in or not, but it only loads correctly on the subsequent pages when I'm signed in. Thank you

  6. sosukeinu
    Member
    Posted 2 years ago #

    ok, just checked in on my site after Christmas, and it now seems (inexplicably) like none of the javascript I have listed for infinite scroll to call on page load, is loading. Scripts which loaded flawlessly before, now act like they are not working. Infinite scroll still loads the subsequent pages, but all of the javascript has stopped working. Please help.

  7. beaver6813
    Member
    Posted 2 years ago #

    Just had a look now, seems to work?

  8. sosukeinu
    Member
    Posted 2 years ago #

    sorry, I didn't get back. I've been doing some tinkering. The problem seemed to be a javascript conflict. Rearranged the order that shutter reloaded was called by infinite scroll, and replaced some "$" throughout plugins with "jQuery", and all seems to be working except front end editor. Thank you for taking a look.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic