Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Two things to consider:

    First, you have to hack the plug-in code to make sure it works on any page post-type. For version 2.0, the line to be modified is in the file infinite-scroll.class.php:

    /* Lets start our pre-flight checks */
    	if( is_single() || !have_posts() )

    should what it looks like after deleting “is_page() ||” from the list. For version 2.5 the check is somewhere else, but I downgraded, so I’m not sure where it is, but just search for the keyword “if ( is_singular() )” and change it to the line above. Keep in mind this file will be over-written if you upgrade the plugin, so you’ll have to always go back and hack at it again.

    As for your theme, first make sure pagination works on your template pages. Make sure your next/back page buttons are working and that urls like “baseurl.com/pagename/page/2/” work right.

    If they don’t, that is the problem to fix first and requires a work around if your pagination is to be used for a secondary loop.

    Can someone link me to this plug-in, or inform me how one can still do this in 1.2.1 or 1.2.2? Thanks
    -dan

Viewing 2 replies - 1 through 2 (of 2 total)