Support » Fixing WordPress » How to list all posts from a certain month on archives?

  • palmettostar


    If you visit: you’ll see that I have my archives broken down by month and then by category. Currently, when you click on a month say for example July, it’ll bring you to the page that lists ALL of the posts made in July in the format of: Date post: Title of Blog Post.

    This is how I want it to be displayed but I can’t figure out how to display ALL the posts from a month on the same page. For example, July has 10 total blog posts so far but when you click on the July link only 7 of the blog posts are listed on the page and you have to click the Next page link to see the other 3 blog posts for that month. How do I change it to make all the posts show up on one page?

    Current coding is:

    <?php get_header(); ?>
    <div id="content">
    	<?php if (have_posts()) : ?>
    		<?php while (have_posts()) : the_post(); ?>
    			<b><?php the_time('F jS, Y') ?></b>: <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>">
    			<?php the_title(); ?></a>
    			<div class="filler"></div>
    		<?php endwhile; ?>
    			<div class="pages">			<?php next_posts_link('Older &raquo;','') ?> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <?php previous_posts_link('&laquo; Newer') ?>		</div>
    	<?php else : ?>
    		<h1>Not Found</h1>
    		<?php _e("Sorry, but you are looking for something that isn't here."); ?>
    	<?php endif; ?>
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

    For the page once you click on the monthly link you want to see. I also want to change the category archive pages to display the Date post: Title of Blog Post as well.

    Hopefully this makes sense! Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to list all posts from a certain month on archives?’ is closed to new replies.