How to list all posts from a certain month on archives?
If you visit: http://blissful-reviews.com/archives/ 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 »','') ?> <?php previous_posts_link('« Newer') ?> </div> <?php else : ?> <h1>Not Found</h1> <?php _e("Sorry, but you are looking for something that isn't here."); ?> <?php endif; ?> </div> <?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!
- The topic ‘How to list all posts from a certain month on archives?’ is closed to new replies.