Changeset 8467
- Timestamp:
- 03/17/2007 08:53:25 PM (19 years ago)
- Location:
- around-this-date-in-the-past/trunk
- Files:
-
- 2 added
- 1 edited
-
aroundthisdate_trunk.php (modified) (3 diffs)
-
license.txt (added)
-
readme.txt (added)
Legend:
- Unmodified
- Added
- Removed
-
around-this-date-in-the-past/trunk/aroundthisdate_trunk.php
r8408 r8467 2 2 /* 3 3 Plugin Name: Around this date in the past... 4 Plugin URI: http:// www.junyent.org/blog/arxius/2006/05/20/around-this-date-in-the-past-wordpress-plugin/4 Plugin URI: http:/// 5 5 Description: It shows entries/posts around this date in the past (if they exist) 6 6 Author: Joan Junyent Tarrida … … 8 8 Author URI: http://www.junyent.org/ 9 9 10 [ Notas en castellano en la web ] [ Notes en català a la web ] 11 12 == English notes == 13 14 IMPORTANT: If your siedebar supports the new Wordpress Widgets, you might better use the "Around this date in the past... - Widget Edition" plugin. 15 You can download it from: http://www.junyent.org/blog/arxius/2006/05/20/around-this-date-in-the-past-wordpress-widget/ 16 17 This plugin is based on: 18 - "One year ago" plugin released by Borja Fernandez [ http://www.lamateporunyogur.net/wp-plugins/one-year-ago/ ] [ http://www.lamateporunyogur.net ] 19 - "Wayback" plugin realeaased by Chris Goringe [ http://code.goringe.net/WordPress/ ] [ http://tis.goringe.net ] 20 21 Dwscription 22 23 It shows around this date entries/posts in the past (if they exist). By default it retreives a week around the current day X years ago. 10 [ Notas en castellano en la web ] [ Notes en catala a la web ] 24 11 25 12 Parameters … … 52 39 <?php around_this_date ($before = 'One year ago... ', $after = '<br />‘, $daysbefore = '3', $daysafter = '3', $mode='3', $sinceyear = ‘2004′, $limit = ‘5′); ?> 53 40 54 License55 56 This plugin is free software; you can redistribute it and/or modify (without commercial purposes) it under the terms of the Creative Commons License (don’t remove credits to author, please)57 You can view the full text of the license here: http://creativecommons.org/licenses/by-nc/2.5/58 59 Installing60 61 1. Once downloaded the file, change the file extension from .phps to .php62 2. Upload it through FTP to the server where your Wordpress blog is hosted.63 3. Copy it to the folder /wp-content/plugins/ .64 4. Activate it through the plugin management screen.65 5. Introduce the funtion <?php around_this_date(); ?> (with or without parameters) wherever you want to show the X years ago entries.66 67 41 Changelog 68 v.0.6.1 = Fixed bug when having quotes in post's title. Thanks to Mike Koepke for bug repporting and helping with fixing.69 v0.6 = Added 2 new modes, last X years and since year X.70 Corrected bug in $start_ago and $end_ago.71 v0.5.2 = XHTML valid. Thanks to to Luis Pérez72 v0.5.1 = Added the $daysbefore and $daysafter parameters.73 v0.5.01 = Now the limit option works, for real ;)74 v0.5 = First release. I decided to start on version 06 because of preserving version relation with “One year ago” plugin.75 42 76 43 77 Thanks78 79 Thanks to Borja Fernandez[ http://www.lamateporunyogur.net ] and Chris Goringe [ http://tis.goringe.net ] for writing those plugins and to Luis Pérez and Mike Koepke for their contribution.80 44 81 45 */
Note: See TracChangeset
for help on using the changeset viewer.