Multiple instances of infinite scroll
-
Hi.
How do I do multiple columns with multiple instances of infinite scroll (like mashable.com)? I have three colums, the first one is
$query1 = new WP_Query('post_type=post');
, the second one is$query2 = new WP_Query('post_type=video');
, the third one is$query3 = new WP_Query('post_type=pdf');
so the setting is rather simple. I can for example use jetpack infinite scrolling on the first column without any problems: with
$new_args = array( 'posts_per_page' => $args['posts_per_page'], 'paged' => $args['paged'], 'orderby' => 'date', 'order' => 'DESC', 'post_type' => 'post', 'post_status' => 'publish', );
but how do i make multiple instances for post_type=video and =pdf? I googled the problem and found some posts on this subject, most are quite old. So I was wondering if there is by now a hack or something for jetpack, infinite-scroll plugin or something else out there?
- The topic ‘Multiple instances of infinite scroll’ is closed to new replies.