I want to display posts from the past 3 days, ordered by meta_value_num
. Then when you reach the final page, I want to loop through another 3 days and show those posts. So navigation never ends, the user can browse through every published post...
How can I do this? My WP_Query() arguments are:
$args = array(
'post_status' => 'publish',
'posts_per_page' => 5,
'paged' => $paged,
'order' => 'DESC',
'orderby' => 'meta_value_num',
'meta_key' => '__votes',
'date_query' => array(
array(
'after' => '3 days ago'
)
)
);
That shows posts from last 3 days.