With "A Year Before" you can show the titles of the articles which were written a certain time ago. So you can show in a "historical corner", what happend in your blog e.g. 30 days, 6 months or a year before. You also can use the "anniversary-mode", which will display all the posts through the years, which were written on this day and month.
You can use it as a wordpress-widget or put it in your theme as a php-function with parameters.
Using widgets in wordpress
- Download the plugin and put the directory "a-year-before" in the plugin-folder of your wordpress-installation.
- Then activate the plugin.
- Go "Themes/Widgets" and pull the widget in the sidebar. Ready to go! Configure it, if you want.
Not using widgets in wordpress
- Download the plugin and put the file ayb_posts.php in the plugin-folder of your Wordpress-installation.
- Then activate the plugin.
- In your template - e.g. the sidebar - you can insert the following PHP-code:
Vor einem Jahr
1.0
Add: #thumbnail'-pattern to show featured imagages of articles
0.9.5
Fixed some PHP-Notices (Patch by lostfocus
https://gist.github.com/lostfocus/a68f0689d20feceb7911 )
0.9.4
Fix (again): Again sometimes other post-types (like menu-items) were shown.
0.9.3
Fix: Error with PHP 5.3 when called by PHP-statement. Thanks to
www.hisky.de for reporting the error
0.9.2
- Fix: Sometimes other post-types than posts and pages were shown
0.9.1
- Fix possible display-error in plugin-list
0.9
- set number of articles to be listet
- various fixes
- changed url to my blog - http://herrthees.de is my new blog for programming, design, journalism, etc
0.8
- show pages or not
- public, private or both articles can be shown
- widget output can be edited with patterns %link%, %title%, %date%, %excerpt% (thanks to Marcus from themenfreund.de for the excerpt-idea)
- fixed bugs, i.e. timezone-bug
- use of wordpress's widget-class (plugin works now wordpress 2.8+ only)
- OOP-programming
0.7beta11
- added uninstall-feature for wordpress 2.7+. if the plugin is deleted, the options of this plugin will be deleted in the wordpress-database.
0.7beta10
- fix: check if functions are already declared (for multiple use of the plugin)
0.7beta9
0.7beta8
- kicked out debug-messages ... =:-)
0.7beta7
- bit of cleanup
- make date-calculation gmt-sensitive. the wordpress-timezone-option is used now. should fix problems, where articles, written a few hours (the timezone-difference) before or after midnight are not displayed correctly.
- some minor bugfixes
0.7beta4
- adding anniversary-mode. if anniversary=0, all articles matching the current day and the current month will be show, regardless of which year (beside the actual year of course). all settings of day, month, year and range will be ignored.
0.7beta3
- using the wordpress timezone-offset
0.7beta2
- fixed: plugin generated invalid XHTML in some cases
0.7beta1
- added range-parameter. you can use e.g. year=1&range=7 if you want to look back one year for articles. if no article is found on this day, the plugin will look up to 7 days back and lists the articles of the day the first article was found.
0.6.1
- Fix for sidebars not named 'sidebar'
0.6
0.6beta4
- Fixed finding localization files
0.6beta3
- Localization
- Added german language-file
0.6beta2
- Make sure the non-widget-use of the plugin
0.6beta1
0.5.3
- XHTML-Bugfix (unnecessary span)
- Bugfix PHP 5 Error with empty function-parameter
0.5.2
- Bugfix for more tolerant date-values (e.g. day > 364). Thanks to AlohaDan for hinting and testing.
0.5.1
- Adjustment for MySQL-versions older than MySQL 4.1.1
0.5