Title: Plugin: This week last year
Last modified: August 18, 2016

---

# Plugin: This week last year

 *  [tis](https://wordpress.org/support/users/tis/)
 * (@tis)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/plugin-this-week-last-year/)
 * 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](http://jjg.goringe.net)
   I use it to create a “This week last year” block on the sidebar.
 * The plugin is [here](http://code.goringe.net/WordPress/). Feedback and feature
   requests welcomed.

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [Noemi Nozze](https://wordpress.org/support/users/mcmike/)
 * (@mcmike)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/plugin-this-week-last-year/#post-178305)
 * Sounds cool 🙂 To bad my log isn’t that old 😛
    Is the plugin WP1.5/strayhorn
   compatible ?
 *  [Andrea Rennick](https://wordpress.org/support/users/andrea_r/)
 * (@andrea_r)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/plugin-this-week-last-year/#post-178314)
 * Tried it just now. It worked! 😀 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.
 *  [piginzen](https://wordpress.org/support/users/piginzen/)
 * (@piginzen)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/plugin-this-week-last-year/#post-178401)
 * Excellent plugin…
 * Perhaps add a call to not show drafts…
 *  Thread Starter [tis](https://wordpress.org/support/users/tis/)
 * (@tis)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/plugin-this-week-last-year/#post-178924)
 * **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.
 *  Thread Starter [tis](https://wordpress.org/support/users/tis/)
 * (@tis)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/plugin-this-week-last-year/#post-178925)
 * **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?
 *  [piginzen](https://wordpress.org/support/users/piginzen/)
 * (@piginzen)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/plugin-this-week-last-year/#post-178927)
 * On This Day:
    [http://wiki.wordpress.org/index.php/OnThisDay](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…

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Plugin: This week last year’ is closed to new replies.

 * 6 replies
 * 4 participants
 * Last reply from: [piginzen](https://wordpress.org/support/users/piginzen/)
 * Last activity: [21 years, 2 months ago](https://wordpress.org/support/topic/plugin-this-week-last-year/#post-178927)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
