• I want my archives to look like this:
    2004
    01-02-03-04-05-06-07-08-09-10-11-12
    et cetera. LaughingLizards Nicer Archives looks nice ;), but I don’t want dropdowns. I found an old hack from MtDewVirus, but it looked beyond my meager PHP skills. I’ve even tried to modify the template-functions-general.php file by changing the %s %d variables for monthly archive listings, but I have no idea what I’m doing there, either.
    Can a WP guru assist or send me in the right direction?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter lute

    (@lute)

    I’m using chuckg’s get_archives_by_year hack, discussed in this post:
    http://wordpress.org/support/3/3000
    It’s working at 90%, just need to get previous years’ monthly archives to show up.

    Thread Starter lute

    (@lute)

    Ooh, I fixed it!
    It would have helped if I had read chuckg’s code comments that he explicitly assumed that months from previous years would *not* be listed.
    So I monkeyed with the code, kind of like giving a chimpanzee a shotgun, and got it working. Find this line of code:
    if ($show_months && $currYear == $thisyear) {
    and take out this part:
    && $currYear == $thisyear
    so you get this:
    if ($show_months) {
    This will show months for all of the years in which you have posts. Demonstrated here: http://lutero.com/photolog/
    Yay me!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Yet Another Archive Listing Question’ is closed to new replies.