Jugá con algo como esto:
http://stackoverflow.com/questions/8...-by-date-range
Código PHP:
Ver original<?php
function filter_where($where = '') {
$where .= " post_date = '" . date('Y-m-d', strtotime('-2 days')) . "'"; return $where;
}
add_filter('posts_where', 'filter_where');
query_posts($query_string);
?>