/>PHP
function filter_where($where = '') {
$where .= " AND post_date >= ’1980-05-11′ AND post_date <= '2011-05-11'";
return $where;
}
add_filter('posts_where', 'filter_where');
query_posts($query_string);
while (have_posts()) :
the_post();
the_content();
endwhile;
?>
/>
/>
/> Visit wpsnipp.com for details on how to setup this WordPress snippet.
/>
/> Share this post. Facebook | StumbleUpon | Delicious | Tweet It | Digg This | DesignBump-It | DesignPoke-it
/>
/>






















0 Comments
You can be the first one to leave a comment.