<?php function filter_where($where = '') { $where .= " AND post_date = ".date("j-n-Y"); return $where; } add_filter('posts_where', 'filter_where'); query_posts($query_string); ?>