wordpress获取当日发布的文章
'20', // 篇数
'ignore_sticky_posts' => true,
'date_query' => array(
array(
'year' => $today['year'],
'month' => $today['mon'],
'day' => $today['mday'],
),
),
);
$query = new wp_query( $args );
?>
have_posts() ) : while ( $query->have_posts() ) : $query->the_post();?>
-
', esc_ ) ), '' ); ?>
-
暂无更新