WordPress.org

Ready to get started?Download WordPress

Forums

Plugin: This week last year (7 posts)

  1. tis
    Member
    Posted 9 years ago #

    I've written a little plugin (my first) that generates a list of posts from your blog posted during a window of time a specified period in the past. On my blog for my baby boy I use it to create a "This week last year" block on the sidebar.

    The plugin is here. Feedback and feature requests welcomed.

  2. mcmike
    Member
    Posted 9 years ago #

    Sounds cool :) To bad my log isn't that old :P
    Is the plugin WP1.5/strayhorn compatible ?

  3. Tried it just now. It worked! :D I'm using wp1.5, too. I plunked it in my sidebar, click on my name to see it.

    Feature request: what about "this week 2 years ago" and further? I have 5-6 years worth of writing I just imported. Heh.
    Also, could it be modified to show either this day last year, or the neaerst posted day from last or previous years?

    Maybe there's a plugin that does that already. But this was cool, an it worked, and was fast to do.

  4. piginzen
    Member
    Posted 9 years ago #

    Excellent plugin...

    Perhaps add a call to not show drafts...

  5. tis
    Member
    Posted 9 years ago #

    andrea_r:

    You can do two years ago: you just need to put the number of days ago you want to start and end at as parameters... so

    <?php cg_wayback(733,726); ?>

    will do all posts between 726 and 733 days ago (a one week slot two years ago).

    I'll think about the 'this day in previous years' idea, might be a different plugin :).

    Hey - how do you do the bars on your blog, with the date on the far right, dividing entries up by day? That's cool, I'd like to steal it.

    mcmike:

    Yes, it's 1.5 compatible. I don't know if it works with older versions, I only have 1.5 (new WordPress user, here). And see the above answer - you can use it for a shorter time ago if you prefer...

    piginzen:

    Good idea. I'll look into it.

  6. tis
    Member
    Posted 9 years ago #

    andrea_r:

    You can do two years ago: you just need to put the number of days ago you want to start and end at as parameters... so

    <?php cg_wayback(733,726); ?>

    will do all posts between 726 and 733 days ago (a one week slot two years ago).

    I'll think about the 'this day in previous years' idea, might be a different plugin :).

    Hey - how do you do the bars on your blog, with the date on the far right, dividing entries up by day? That's cool, I'd like to steal it.

    mcmike:

    Yes, it's 1.5 compatible. I don't know if it works with older versions, I only have 1.5 (new WordPress user, here). And see the above answer - you can use it for a shorter time ago if you prefer...

    piginzen:

    Good idea. I'll look into it. I see you have an 'on this day' thing on your blog - can you point me to the relevant plugin or code?

  7. piginzen
    Member
    Posted 9 years ago #

    On This Day:
    http://wiki.wordpress.org/index.php/OnThisDay

    There was an upgrade of this for WP 1.5, but I tried installing it and it stopped working. So I still use this perhaps outdated version, but it works fine so far...

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.