scrolling for custom Wp_Query or query_posts?
-
Hello,
how can I convince the “infinite scroll” {IS} to take into account the actual/custom wp_query arguments..?
The IS only loads next page as if there were normal loop and doesn’t care that there are some extra arguments.the args in my case are
$args = array(
‘post_type’ => ‘post’,
‘posts_per_page’ => ‘9’,
‘meta_key’ => ‘bike_sold’,
// ‘meta_value’ => ‘1’,
‘orderby’ => ‘meta_value_num’,
‘order’ => ‘ASC’
);the IS loads the all the posts that has been preloaded again, and that’s it.. no more posts only duplicates.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘scrolling for custom Wp_Query or query_posts?’ is closed to new replies.