Can this work on archives/custom pages templates?
On the homepage it says this only works on the main page, but from people talking it seems like maybe that’s no longer the case?
I’m trying to implement an infinite-scroll solution for tag archives and a page template that shows posts, and I’m getting the error ‘infinite_scroll is not defined’
My custom page contains the WP_Query in it like this:
$args = array( 'posts_per_page'=> 4, 'post_type' => 'post' ); $wp_query = new WP_Query( $args ); if ( $wp_query->have_posts() ) : ?>
- The topic ‘Can this work on archives/custom pages templates?’ is closed to new replies.