plugin-icon

WP-RelativeDate

Displays relative date alongside with your post/comments actual date.
Évaluations
3
Mis à jour récemment
August 9, 2023
Version
1.51
Installations actives
200
WP-RelativeDate

Like ‘Today’, ‘Yesterday’, ‘2 Days Ago’, ‘2 Weeks Ago’, ‘2 ‘Seconds Ago’, ‘2 Minutes Ago’, ‘2 Hours Ago’.

General Usage

You need not do anything. WP-RelativeDate will automatically modify your post/comment date or time display. No text will be added if the post or comment is more than a month old.

It will add the following text accordingly: * Post/Comment Date * Today * Yesterday * X days ago * X weeks ago * Post/Comment Time * X seconds ago * X minutes ago * X hours ago

Examples

  • Post/Comment Date
    • Today
    • Yesterday
    • 10th January 2007 (2 days ago)
    • 25th January 2007 (2 weeks ago)
  • Post/Comment Time
    • 21:10 (2 seconds ago)
    • 21:15 (5 minutes ago)
    • 22:15 (2 hours ago)

Shortcodes

  • [relativedate]
    • [relativedate date_format="jS F Y" ago_only="false"]
  • [relativetime]
    • [relativetime time_format="H:i" ago_only="false"]

Build Status

Development

https://github.com/lesterchan/wp-relativedate

Translations

http://dev.wp-plugins.org/browser/wp-relativedate/i18n/

Credits

Donations

I spent most of my free time creating, updating, maintaining and supporting these plugins, if you really love my plugins and could spare me a couple of bucks, I will really appreciate it. If not feel free to use it without any obligations.

Gratuitsur le plan Creator
En procédant à l’installation, vous acceptez les Conditions d’utilisation de WordPress.com ainsi que les Conditions de l’extension tierce.
Installations actives
200
Testé jusqu’à version
6.3.5
Cette extension est disponible en téléchargement pour être utilisée sur votre installation WordPress auto-hébergée.