DeathClock Plugin 1.0 for WP

This is my first attempt to write a plugin for WP so bare with me icon smile DeathClock Plugin 1.0 for WP .

1.1 – Updated the plugin so now it works without CURL (although if you have CURL installed the plugin will use it)

DeathClock v1.1

Copy the file into your wp_content/plugins/  directory.
Activate the plugin from Plugins admin menu.
Once the plugin is activated it creates a "DeathClock" panel under "Options".
You will need to go there and update your information.

You can check the time of your death in the DeathClock panel or you can show it to other users by putting the following code anywhere in your template: <?php timeofdeath(); ?>. This will generate something like this: Monday, September 20, 2038.

WordPress 1.5 or higher
Php 4.x or higher (CURL is nice but not necessary)

Tags: ,

Daca vrei sa vezi ce-i mai trece prin cap suricatei in continuarea, aboneaza-te la RSS.

Information and Links

Other Posts

Write a Comment

Take a moment to comment and tell us what you think. Some basic HTML is allowed for formatting.

Reader Comments

Somehow it doesn’t work. I’m using 2.3, and the date does not show up anywhere where it’s supposed to, not even on the settings page.

Hi. Thank you for your input. Odd enough I’ve design it on 2.3. The plugin uses php CURL. Do you know if your host has php configured with curl? Also does it give you any errors?

Unfortunately php CURL is not activated by my provider, and hardly anyone seems to have activated in Germany. Maybe it’s not well-known?
I do not get any errors, too. It just doesn’t show anything. Empty space.

Ok. That’s good to know. I’ll have an updated version tomorow that won’t need CURL :) . We’ll see then how that goes.

Woohooo, thank you for taking care of it.

No problem :) . Try it now and see how it works.

nice plugin … lokks good to me, I will check it out!

I have found an error. In the file is missing by month march the sign “

Thanks Mike. I’ve fixed it now.

Oh, and did not know about it. Thanks for the information …