Closed jjpare closed 12 years ago
I seem to recall that there is a way to do it through regex but an easy way for now could be adding something like this to your options. Obviously you would have to define the $current_page but tumblr allows you to do this. (And remember your commas in the options list!)
state : { currPage : "'.$current_page.'" }, pathParse : ['http://jjpare.tumblr.com/page/', '']
As I said though, there is a way to do this via regex but I'm poor at it and we don't have the docs up yet. @lukeshumard might have a better bit of code to use.
Golly gee, Beav— That worked just fine. Thanks!
Should I close this now, or wait and see if @lukeshumard does indeed have a better way?
that is, indeed, the best way!
I’m using Infinite Scroll in a Tumblr theme, and I’m noticing that it all works just fine if I start on the front page of the blog ( http://jjpare.tumblr.com ), but if you try starting from another page within the site ( http://jjpare.tumblr.com/page/3 for example) then it breaks. Is there an easy way to fix that?