wordpress技巧:如何提取某一时间段览量量最多的文章

<?php
$date_query=array(
array(
'column' => 'post_date',
'before' => date('Y-m-d',time()+3600*24),
'after' =>date('Y-m-d',time()-3600*24*30)  //此处30标示三十天内浏览量
)
); 
?>
<?php
$args = array(
'posts_per_page' =>1,
'cat' =>26,
'post__in' => get_option( 'sticky_posts' ),
'ignore_sticky_posts' => 1,
'meta_key' => 'views',
'date_query' => $date_query,
'orderby'=> 'meta_value_num',
);
query_posts( $args ); while ( have_posts() ) : the_post();?>
<h4><b><a href="<?php the_permalink(); ?>"><?php echo mb_strimwidth(get_the_title(), 0,100, ''); ?></a> 
</b></h4>
<?php endwhile;wp_reset_query();?>