Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I'm using twentyten and have overloaded home.php to do some custom stuff. However, I would still like to have a page that lists all of my recent posts, archive-style.

I can get to an archive page for any given category with myblog/category/category-name.

But I'd like to get to an archive that just lists all recent posts, regardless of category. Like myblog/archive

Am I assuming too much? I know I can create a custom page template and then create a custom page and apply that template. I just thought that wordpress had a built-in "archives" page, no?

share|improve this question

3 Answers 3

up vote 4 down vote accepted

No, there is no "full archive" page like you describe created by default. This would basically be the twentyten index page set to display "your latest posts." If you don't want to access the archives via some sort of filter (category, author, year, month etc.) then you will need to create your own archive template and page like you described above. you could also use the twentyten index.php as the basis for your new template.

So you can create the archive page, set it to use your new template and use the url myblog/archive like you wanted.

share|improve this answer
    
Okay, sounds like I was dreaming when I thought you could get to some kind of built-in archive page. My question was a bit of a long shot. –  Tom Auger May 15 '11 at 18:42

From the Codex: Creating an Archives Page.

Basically:

  1. Create a custom template file.
  2. Create a static Page.
  3. Assign the custom template to the static Page
share|improve this answer
    
Yea, that's basically what I said in my OP. –  Tom Auger May 15 '11 at 18:40
    
Right, but did you read the link I posted? It gives examples for how to build your custom template for outputting post archives. –  Chip Bennett May 15 '11 at 18:47
    
Thanks Chip, that's a good resource. –  Tom Auger May 17 '11 at 13:01

According to this image, the file you want is archive.php categories have there own file along with others WordPress Template Hierarchy Link to the image

The Twentyten template uses all of the features WordPress offers as an example of what you can make your theme do

share|improve this answer
    
Lastly you should also consider creating two blank pages in wordpress one named home and another named blog, news whatever you want then go to your settings tab and in the reading settings there should be a option for static pages one for home or front page and the other for posts take your two new pages you just created and select them in the appropriate drop downs then save. –  xLRDxREVENGEx May 13 '11 at 21:37
    
although to know the template can be useful, there is no way to directly link to the template. –  Michael May 13 '11 at 21:38
    
Please do not down vote something that was an aid. If you continued reading my post you would have seen that i said create a new template and use the static pages which is the common way of doing this. –  xLRDxREVENGEx May 13 '11 at 23:12
    
Your response doesn't actually address the question - if you try typing www.myblog.com/blog/archive.php you get an error. Also, the Reading settings you describe do nothing more than change the way your home page functions. –  Tom Auger May 15 '11 at 18:39

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.