Birthdaze
Birthdaze is a simple plugin to keep track of birthdays. It installs a table to hold names and birthdays. It includes an admin page under the Tools menu to add, modify, and delete birthdays. Birthdays can be displayed using a widget, a shortcode, or using template functions.
Widget
The plugin automatically enables a widget you can add to your sidebar to show the current month’s birthdays. It has other options to change how the birthdays are displayed. The “Birthday format” field takes a standard PHP date() formatting string – see http://php.net/manual/en/function.date.php for all of the options.
Shortcode
Using the shortcode is an easy way to include a birthday list in a page or post without any messy theme editing. Here’s the shortcode with all the options and their defaults.
[birthdaze before="<li>" after="</li>" thismonth="FALSE" initial="TRUE" notfound="None found." bdformat="F j"]
So, if you just put [birthdaze] in a page or post you’ll get the full list with formatted like “John S: January 31″ and surrounded by list tags. To avoid having to type in that crazy stuff for your before and after HTML tags, just use the visual editor – it’ll automatically escape the HTML for you. No surrounding tags are added, so for a list you’ll need to add your own <ul> tags. Date formatting is the same as the widget – see http://php.net/manual/en/function.date.php for all of the options.
Download it: birthdaze_0.4.2.zip




Christian said:
I cannot delete the birthdays when using your plugin.
Where on the page do I put “birthdaze_allofem(before,after)”?
What do you mean by “Capability”?
isaac said:
Thanks for letting me know about the bug – please try the new version 0.3, which should fix the deleting issue and also adds a widget.
Vac said:
I like the plugin so far, but I’d like to show both first and last name in the widget. Also, since my page is in German, I don’t need the “th” after the years, e.g. 24th. “24″ alone is sufficient. Any ideas how I could handle these two little changes? Thanks.