WordPress.org

Ready to get started?Download WordPress

Forums

Advanced AJAX Page Loader
[resolved] AAPL and Infinite Scroll - Manual Trigger? (3 posts)

  1. Courtney Fantinato
    Member
    Posted 1 year ago #

    I've seen this post about combining AAPL and Infinite Scroll:

    http://wordpress.org/support/topic/advanced-ajax-page-loader-and-infinite-scroll-together%E2%80%A6-forever?replies=14

    Works great with the default Infinite Scroll behaviour. However, I'd like to use the manual or "Twitter" behaviour so that the user has to click a button to load more posts.

    I can't get this behaviour to work - the link goes to the next page all ajax-ified from AAPL like other links throughout the site. Infinite Scroll doesn't have a chance to grab and load the posts on the same page.

    Changing the manual trigger link's URL to a # doesn't work, Infinite Scroll needs a proper URL to parse and work properly.

    Any idea how to solve this?

    Thanks!

    http://wordpress.org/extend/plugins/advanced-ajax-page-loader/

  2. lhrybyk
    Member
    Posted 1 year ago #

    put /page/ into the href ignore list. Worked for me

  3. Courtney Fantinato
    Member
    Posted 1 year ago #

    Ah! That has worked! However, I put in "/news/page/" because "/page/" also affects search results, which I don't want.

    Thank you lhrybyk!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic