WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Around this date in the past... - Widget Edition

It shows entries/posts around today's date in the past (if they exist). It is highly customizable.

Usage

You can set the parameters from the widgets panel

Configuration parameters

$before = Code will show before links. Defaults to 'This week last year…: ' $after = Code will show after links. Defaults to '' $daysbefore = Days' posts that will show before one year ago. By default '3' (3 days before) $daysafter = Days' posts that will show after one year ago. By default '3' (3 days after) $mode = Select the mode that you want the widget to work. By default '1' (X years ago) Mode 1: get posts around this date from X years ago. Mode 2: get posts around this date for the last X years. Mode 3: get posts around this date since year X. $yearsago = It shows “X” years ago posts. By default '1' (1 year). ONLY IF MODE 1 IS SELECTED. $lastxyears = It shows posts por the last "X" years. By default '1' (1 year). ONLY IF MODE 2 IS SELECTED. $sinceyear = It shows posts since the year "X". By default '2005' (since year 2005). ONLY IF MODE 3 IS SELECTED. $limit = Number of posts to retrieve. By default '4'. $none = Text shown when there are no posts. By default 'none'. $showdate = Show dates next to the links. By default unchecked. $dateformat = Format of the date displayed next to the links (if checked). See http://www.php.net/date $showexcerpt = Show the excerpt next to the links. By default unchecked.

Customize display

In adition to the options avaliable from the widget control panel you can highly customize the apearance of the output by using CSS. These are the classes avaliable: ul.atd-list {} // base list container. li.atd-year {} // Yearly headers. atd-yXXXX {} //yearly based class, eg. atd-y2006, atd-y2005 ... ul.atd-yearlylist {} // list container for each year around this date posts. li.atd-entry {} // list items containing each around this date posts. atd-yXXXX {} //yearly based class, eg. atd-y2006, atd-y2005 ... atd-mXX {} //montly based class, eg. atd-m01, atd-m02 ... atd-m12. atd-dXX {} //dayly based class, eg. adt-d01, atd-d02 ... atd-d31. atd-XXXXXXXX {} //date based class, eg. atd-20061205, atd-20050304 ... li.atd-noentries {} // list item when there are no entries
a.atd-entry-title {} // Link to the post. .atd-entry-date {} // span containing the date, if $showdate enabled. .atd-entry-excerpt {} // span containing the excerpt, if $showexcerpt enabled.

License

This plugin is free software; you can redistribute it and/or modify it under the terms of the GPL License (don't remove credits to author, please) See license.txt for details

Credits and Acknowledgments

This plugin is based on: - “One year ago” plugin released by Borja Fernandez. [ http://www.lamateporunyogur.net/wp-plugins/one-year-ago/ ] [ http://www.lamateporunyogur.net ] - “Wayback” plugin released by Chris Goringe. [ http://code.goringe.net/WordPress/ ] [ http://tis.goringe.net ]
- Wayback Widget released by Sven Weidauer. [ http://dergraf.net/computer/wordpress/wayback-widget/ ] [ http://dergraf.net/ ] - My plugin Around this date in the past. [ http://www.junyent.org/blog/arxius/2006/05/20/around-this-date-in-the-past-wordpress-plugin/ ]

Thanks to Borja Fernandez, Chris Goringe and Sven Weidauer for writing their plugins and to Luis Pérez and Mike Koepke for their contributions.

ToDo

Nothing else planed by now.

Requires: 2.0 or higher
Compatible up to: 2.8
Last Updated: 2008-11-23
Downloads: 3,323

Ratings

4 stars
4.8 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1
100,1,1