Support » Fixing WordPress » How to show Archives by week not month

  • I’m sure this is documented somewhere, but I can’t seem to find it. I have a new blog with only one link under “Archives” — the month of “March”:

    Eventually, of course, the blog will show additional links for each month that the blog is up, but in the meantime, is there a way to list the archives by week? One archive link all by itself looks kinda L O N E L Y …

    Thanks —

Viewing 5 replies - 1 through 5 (of 5 total)
  • A related question — what determines how many posts are on the index page and when they scroll off to an archive page?

    For instance, if the authors for my blog wrote a total of two dozen posts in one day, they wouldn’t all be on the home page, would they? That would be a long page.


    That should do it 🙂

    In WordPress 2.x:

    – go to your admin panel
    – click the ‘Options’ tab
    – click the ‘Reading’ sub-tab
    – change the value for “Show at most X posts”

    That value will determine how many posts are shown on the index page.

    Thanks very much, Aleister, for the helpful information. (I’m always happier knowing where and how to tweak.)

    I found the syntax and changed it. For other users who may be curious about the same issue, here are my findings:

    I changed syntax to

    in three of the theme files (theme adapted from Wuhan):

    But the result is not ideal. The date format in the sidebar is now too verbose to fit in the sidebar:

    March 27, 2006–April 3, 2006
    March 13, 2006–March 19, 2006
    March 6, 2006–March 12, 2006

    Doubtless I could change that, but I also see that the archive page title for any given week nows reads a generic “Archive for 2006”.

    I also wonder what would happen to permalinks, which are famously finicky. So plain ole monthly listings for archives is best for me, I think.

    Here is the info on wp_get_archives btw:

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to show Archives by week not month’ is closed to new replies.