I'm trying to insert the curdate function into the code below so that once this particular category of posts is older than the current date, they're not displayed. Has anyone had experience with this or can offer any help/advice?
And it's presented onto a Wordpress site if that helps?
<?php $the_query = new WP_Query('cat=25' .$catid. ',-' .$catid2. '&showposts=5&orderby=post_date&order=desc');
while ($the_query->have_posts()) : $the_query->the_post();
$do_not_duplicate = $post->ID; ?>