Time Since Plugin for Wordpress

This page in german is available here.

Time Since Plugin in Action

Introduction:

Some readers of this blog might already know Dunstans Time Since Plugin for Wordpress. The purpose of this plugin is a different kind for printing the time than most blogs do.

Instead of printing out the publishing date of a comment or an entry, Time Since follows another ideology. Time Sincee displays the Time since something happend (in years, months, weeks, days, hours and minutes).

Instead of printing out fixed datetime values, Time Since displays the time as a distance, which can be imagined much better by your readers.

Differences:

Ok, so far, so good. But why another version of this great plugin? Very easy: The german singular noun for "week" is "Woche", but the plural isn't. The plural isn't even "Woches" (if you add an "s" at the end of it). The correct plural term would be "Wochen".

As you already might have guessed there are a lot of exceptions in german and you just can't add an "s" to every singular noun to get its plural variant. That is why i integrated another notation of these customizable words.

As i did that i also added support for l18n, which allows you to translate the plugin in whatever language you decide (i.e. with poEdit).

Download:

Download Time Since Plugin version 0.1.1

Installation:

  • Download the zip package
  • Extract the package into your wordpress plugin directory (wp-content/plugins/)
  • Upload the directory wp-dhTimeSince onto your ftp server
  • Activate the plugin in the admin interface of your wordpress installation

Usage:

To use this plugin, you must call the function "Time_Since". The K2 theme already calls this function in its default installation. Other themes have to be edited to do that. Most likely you have to edit your "single.php" and add this:

Version history:

  • Version 0.1 (15.04.2007):
    • Localization through usage of *.pot files possible (Support for german and english already integrated)
    • Determination singular/plural form Singular/Plural (week, weeks)

  • Version 0.1.1 (16.04.2007):
    • Fixed localization error in german translation.

Localizations:


0 Antworten zu Time Since Plugin for Wordpress

  1. Bisher gibt es keine Kommentare.