Support » Plugin: Infinite-Scroll » Not working in WordPress 3.2

  • Resolved bthaxor

    (@bthaxor)


    I’m guessing it’s a conflict with the TwentyEleven theme? Whatever it is, Infinite Scroll isn’t working…

    I’m certain I have the correct selectors, but the JS isn’t activating.

Viewing 15 replies - 1 through 15 (of 31 total)
  • Plugin Author beaver6813

    (@beaver6813)

    I pushed an update today, can you confirm this fixes?
    (If not, could you link me to the site so I can see it in action?)

    Still doesn’t seem to work with the latest commit :\

    http://bthaxor.com/

    Plugin Author beaver6813

    (@beaver6813)

    Could you turn debugging on please? options -> infinite-scroll -> debug
    That way I can see what its doing internally 🙂

    Yup sure, done 🙂

    Plugin Author beaver6813

    (@beaver6813)

    Basically the problem here is that it can’t find the “nextSelector” in the code.
    You have:

    <nav id="nav-below">
    			<h3 class="assistive-text">Post navigation</h3>
    			<div class="nav-previous"><a href="http://bthaxor.com/page/2/" ><span class="meta-nav">&larr;</span> Older posts</a></div>
    
    			<div class="nav-next"></div>
    		</nav>

    So you’ll need to change your Previous posts CSS Selector setting to:
    nav#nav-below div.nav-previous a:first
    Or something like that.

    Let me know if that helps or not

    Really appreciate the help 🙂

    OK so the script’s loading now, but it’s still failing to load the next page…

    Plugin Author beaver6813

    (@beaver6813)

    Its loading for me on Firefox & Chrome. Try turning debugging back off?

    Ahh brilliant. You legend, thanks for the great plugin 🙂

    Just a hint, it might help to add setup instructions for the default WP themes on the FAQ page 🙂

    Plugin Author beaver6813

    (@beaver6813)

    Awesome, great to hear its working! Good idea, I’ll work on that 🙂

    OK I’m sorry – don’t know what happened, but have a feeling the plugin broke with the most recent update pushed to WordPress…

    http://bthaxor.com/ is my site again, I’ve turned debugging on. Any help would be great :\

    Plugin Author beaver6813

    (@beaver6813)

    Hmm seems to work for me, can you try again? If its working with debug on then try again with debug off and let me know; as it could be that it only doesn’t work when debug is off… if that makes sense.

    OK that’s weird – seems like the plugin doesn’t call jQuery by default, so when I removed another plugin that did, Infinite-Scroll broke. Maybe that’s something to consider?

    Plugin Author beaver6813

    (@beaver6813)

    Hmm, it should.. I’ll play around with it this week. It basically checks what version of jQuery is loaded and if it is less than 1.6.x then it loads its own. Thinking about it, I suspect it might be that jQuery is on WordPress and up to date but not initiated…
    Thanks for flagging this up 🙂 There will most likely be an update on the weekend.

    Can you tell my what you have written in “Content CSS Selector”, “Post CSS Selector”, “Navigation Links CSS Selector”, “Previous posts CSS Selector”. Because it stop working when i updated to Twenty Eleven.
    Thanks in advance! 🙂

    Managed to fix it. If someone else is wondering, I used:

    Content CSS Selector: div#content
    Post CSS Selector: div#content article.post

    Navigation Links CSS Selector: nav#nav-below
    Previous posts CSS Selector: nav#nav-below div.nav-previous a:first

Viewing 15 replies - 1 through 15 (of 31 total)
  • The topic ‘Not working in WordPress 3.2’ is closed to new replies.