Redirects to a specific page for each day of the week
Author: | moxypark (profile at wordpress.org) |
WordPress version required: | 2.5 |
WordPress version tested: | 2.8.4 |
Plugin version: | 1.0.0 |
Added to WordPress repository: | 07-10-2009 |
Last updated: | 08-10-2009
Warning! This plugin has not 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.
|
Rating, %: | 0 |
Rated by: | 0 |
Plugin URI: | http://moxypark.co.uk/weekday-redirect/ |
Total downloads: | 727 |
Click to start download |
This is a WordPress plugin created to redirect to a given page on a particular day. Let’s say you want certain information to be available on a certain day, like a list of events. Users could go to http://yoursite.com/events, which would then redirect to http://yoursite.com/events/day, where [day] is obviously “monday”, “tuesday” etc, depending on what day of the week it is.
There may already be more elegant solutions to this problem, but I wanted to build a WordPress plugin from scratch, rather than adapting an existing one. The much more efficient shortcodes system implemented in WordPres 2.5 (better than lots of plugins performing a find and replace or regular expression check) makes this really easy.