Display archive posts in Wordpress
Posted
by missmonkee
on Stack Overflow
See other posts from Stack Overflow
or by missmonkee
Published on 2010-06-07T08:00:34Z
Indexed on
2010/06/07
8:02 UTC
Read the original article
Hit count: 302
I am looking to display archives pages as a normal posts page...
So, a posts page with a secondary navigation showing:
Latest posts / Last month / Last year / Older
On each of those pages, I would like to display a summary of each post just like the standard latest news page. When you click through you get to the full post.
For each of menu items I have created seperate page templates such as archives_month.php, Then in the template instead of using
For the LAST MONTH page. But I now cannot use this for LAST YEAR and OLDER posts.
Can anyone help me? I've looked into a number of different ways to do it but on some blogs it's not clear and most people just retrieve a list of archives rather than displaying the posts.
Thanks in advance. Mel
© Stack Overflow or respective owner