Hello,
I am setting up a wordpress theme that is for a newspaper. What i want to do with the front page is to have only the articles from the current month or bimonthly shown. Does anyone know an easy way to do this. I was thinking of using the monthnum function for wp_query but couldnt figure out how to set the variable for monthnum=variable to the users month.
Im not sure if this is the best way to tackle this problem if anyone has any ideas let me know and it would be greatly appreciated.
thanks,
ben
my current loop runs for each category and looks like this
<?php query_posts('category_name=news'); ?>
<?php while (have_posts()) : the_post(); ?>
<?php if($post->ID != $featured_ID) { ?>
<h3>" title="<?php the_title(); ?>"><?php the_title(); ?></h3>
<small><?php echo get_post_meta($post->ID, 'author', true)?> - <?php echo get_post_meta($post->ID, 'program', true)?></small>
<?php the_excerpt(); ?>
<p>">Continue Reading...</p>
<? } ?>
<?php endwhile; ?>