The WP template that I am using came with a premade About page, but not an Archive template. Would someone have some premade code and instructions on how to create an Archive of older posts. I would like to create something like http://www.johnchow.com/archives/ where I can have an archive divided by category, last 50 posts, and by month. Thank you
I use KG Archives which is similar to John Chow's but it doesn't do the last 50 posts. http://katesgasis.com/2005/05/01/kg-archives-plugin/ The demo of it in action is here: http://katesgasis.com/archives/ Maybe you can ask John himself?
http://www.blazed-up.com/archives Something like this ? I could do it for you,no plugins needed. Edit: Actually just pm me for the code, your blog will also need a plugin that allows posts/page to run PHP. Edit2: I just checked out john's archives, if only I could figure out how he got the numbers and dates next to them Better do my research.
I did doublecheck with John this morning. He uses a premade template. When you do a view source, I believe it is Misty Look 101 ( http://themes.wordpress.net/columns/2-columns/831/mistylook-101/ ) Not being familiar with coding, I'm not sure if there is a way to import the archive template from this theme into my own? thx Carmen
As mooiness said: KG Archives is great. I use it on all my blogs and it fits into my templates pretty nicely. Activate plugin, create a page called 'archive' with the KG archive tag in it, done.
I pm'ed you the code I am using. If you find out how too add the number of posts for the categories be sure to let me know
@carmen: probably not as the source that you are viewing is processed and output via PHP into HTML. So ultimately, you have to ask John for the PHP code and/or plugin that he uses. Or maybe Blazer's code might do the trick.
I just wrote a detailed explanation on how to do it. http://www.blazed-up.com/2007/05/customizing-archives-my-way/ Here you go
Hi Blazer, Thank you for the detailed explanation and support. That's an outstanding explanation. I ended up with two issues and figure it may have something to do with my wordpress theme rather then the code. The issues are 1. Under last 50 entries, there is no space between the date and the first word in the blog title eg 16 May 2007Blog Title Is there any way to force a space between the two? 2. I use a 3 column blog theme with content in the far left. Rather then showing the archive integrated in the blog template, ie archive in the left column and my two link columns on the right, the archive shows up at the very top of the page and then the 3 column blog template shows up below the archive. I have selected "archives" under page template. Would you have any thoughts on how I might be able to resolve this. Thank you
Well if you have selected the archives under page template then it's the coding in the templates.php. Have you tried just using the code under default template?