Title: Simple Relative Date
Author: danivalentin
Published: <strong>7. maj, 2011</strong>
Last modified: 7. maj, 2011

---

Søg plugins

Dette plugin **er ikke blevet testet med de seneste 3 større udgivelser af WordPress**.
Det vedligeholdes eller understøttes muligvis ikke længere og kan have kompatibilitetsproblemer,
når det bruges med nyere versioner af WordPress.

![](https://s.w.org/plugins/geopattern-icon/simple-relative-date.svg)

# Simple Relative Date

 Af [danivalentin](https://profiles.wordpress.org/danivalentin/)

[Download](https://downloads.wordpress.org/plugin/simple-relative-date.zip)

 * [Detaljer](https://da.wordpress.org/plugins/simple-relative-date/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/simple-relative-date/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/simple-relative-date/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/simple-relative-date/#developers)

 [Support](https://wordpress.org/support/plugin/simple-relative-date/)

## Beskrivelse

This was based on [Lester Chan’s Relative Date plugin](http://lesterchan.net/wordpress/readme/wp-relativedate.html).

It tries to simplify things a bit. This plugin can:

 * Replace the_date() in the post
 * Replace get_comment_date() or comment_date() in the comments

Note that if your theme is writing the date in a different form, it won’t work. 
You have to
 replace its function call to one of the above (in the TwentyTen theme
for example, replace twentyten_posted_on() by the_date().

Also important to say that, comment replacement won’t work if you are using the 
default wp comment renderer because
 it calls get_comment_time() as well. You have
to do a customized callback function to use with wp_list_comments( array( ‘callback’
=> ‘your_customized_function_here’ ) ). (ok, maybe things were not simplified that
much :/)

There is a options page (under settings in the Admin) where you can choose which
dates you
 want to replace (posts/comments). Posts date are by default checked.

Portuguese translation included.

## Installation

 1. Upload `wp-simplerelativedate.php` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. If necessary, change the plugin’s options in the options page under settings menu.

## Anmeldelser

Der er ingen anmeldelser for denne widget.

## Bidragsydere & udviklere

“Simple Relative Date” er open source-software. Følgende personer har bidraget til
dette plugin.

Bidragsydere

 *   [ danivalentin ](https://profiles.wordpress.org/danivalentin/)

[Oversæt “Simple Relative Date” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/simple-relative-date)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/simple-relative-date/),
tjek [SVN repository](https://plugins.svn.wordpress.org/simple-relative-date/), 
eller abonner på [udviklerloggen](https://plugins.trac.wordpress.org/log/simple-relative-date/)
via [RSS](https://plugins.trac.wordpress.org/log/simple-relative-date/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Version **1.0**
 *  Senest opdateret **15 år siden**
 *  Aktive installationer **10+**
 *  WordPress-version ** 2.7 eller højere **
 *  Testet op til **3.0.5**
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/simple-relative-date/)
 * Tags
 * [date](https://da.wordpress.org/plugins/tags/date/)[relative](https://da.wordpress.org/plugins/tags/relative/)
   [time](https://da.wordpress.org/plugins/tags/time/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/simple-relative-date/advanced/)

## Bedømmelser

Der er endnu ikke indsendt nogen anmeldelser.

[Din anmeldelse](https://wordpress.org/support/plugin/simple-relative-date/reviews/#new-post)

[Se alle anmeldelser](https://wordpress.org/support/plugin/simple-relative-date/reviews/)

## Bidragsydere

 *   [ danivalentin ](https://profiles.wordpress.org/danivalentin/)

## Support

Har du noget at sige? Har du brug for hjælp?

 [Vis supportforum](https://wordpress.org/support/plugin/simple-relative-date/)

## Donér

Vil du gerne støtte udviklingen af dette plugin?

 [ Donér til dette plugin ](http://www.danivalentin.net)