Fixing the archives link in the Copyblogger theme

After I installed the Copyblogger theme, I noticed that the “Archives” link in the header of the page did not display the archives for my site. I reviewed this article which talks about adding links to the header navigation area, but it did not have any information on my problem. After some searching, I found a comment on the main Copyblogger site which had the details I needed:

  1. Create a page
  2. Enter whatever you want in the title, but do not enter any content
  3. Select “Archives” from the Page Template dropdown menu on the right
  4. Enter “archives” (without the quotes) in the Page Slug field, which is also on the right
  5. Save/publish your page

After following these steps, the archives link worked!

9 comments ↓

#1 Zeke Templin on 10.01.07 at 6:43 pm

Thanks so much for this. I was searching for a while. I’m new to WordPress and couldn’t figure it out. Was just about to edit the navigation bar manually.

Thanks again!

#2 Andy Sylvester on 10.03.07 at 12:21 pm

You are welcome, glad it helped you out.

#3 Simon Townley on 11.07.07 at 5:22 pm

Thanks for the clear explanation (at last) but… I don’t have an “Archives” option in the page template dropdown menu…. any ideas?

#4 Andy on 11.09.07 at 5:11 am

Simon,
I looked at your site, it appears that your archives are working. I checked my Page Template drop down menu and saw “Default Template”, “Archives”, and “Sitemap” as entries. Are you seeing any of those?

#5 Zach on 01.02.08 at 10:10 pm

Thanks so much for sharing this pointer!

#6 Jan on 03.06.08 at 7:36 pm

Make sure that you configure under Options> Permalinks>

Custom, specify below and set your permalink structure to:

/blog/%postname%/

#7 Jamie Hill on 04.02.08 at 11:14 pm

Thanks for this, it worked great.

As a sidenote, in version 2.5, the ‘Archives’ option is at the bottom of the page under ‘Page Templates’.

#8 Jonathan on 04.17.08 at 8:42 pm

Thanks for this - I couldn’t figure out why it would come up with a 404. Another side note on 2.5 - you have to save the page once before the slug edit option comes up, then you can change it.

#9 nostuff.org » Blog Archive » Wordpress tags etc on 04.27.08 at 7:32 pm

[…] with (Copyblogger) had a link at the top of the page called Archives but it didn’t work. This page on Andy Sylvester’s blog explains how to fix this. You basically create a page (not a post) called ‘archives’ or […]

Leave a Comment