<?php query_posts( array ('orderby' => 'title', 'order' => 'ASC') ); ?>
<?php
function filter_where($where = '') {
$where .= " AND post_date >= '2000-01-10' AND post_date <= '2017-01-01'";
return $where;
}
add_filter('posts_where', 'filter_where');
query_posts($query_string);?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>