Title: dhelm's Replies | WordPress.org

---

# dhelm

  [  ](https://wordpress.org/support/users/dhelm/)

 *   [Profile](https://wordpress.org/support/users/dhelm/)
 *   [Topics Started](https://wordpress.org/support/users/dhelm/topics/)
 *   [Replies Created](https://wordpress.org/support/users/dhelm/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/dhelm/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/dhelm/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/dhelm/engagements/)
 *   [Favorites](https://wordpress.org/support/users/dhelm/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Infinite-Scroll] Can this work on archives/custom pages templates?](https://wordpress.org/support/topic/can-this-work-on-archivescustom-pages-templates/)
 *  [dhelm](https://wordpress.org/support/users/dhelm/)
 * (@dhelm)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/can-this-work-on-archivescustom-pages-templates/#post-3250517)
 * 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.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [overriding number of posts in “the loop”](https://wordpress.org/support/topic/overriding-number-of-posts-in-the-loop/)
 *  [dhelm](https://wordpress.org/support/users/dhelm/)
 * (@dhelm)
 * [21 years, 6 months ago](https://wordpress.org/support/topic/overriding-number-of-posts-in-the-loop/#post-117954)
 * 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)