前言介紹
- 這款 WordPress 外掛「WP-RelativeDate」是 2006-02-07 上架。
- 目前有 200 個安裝啟用數。
- 上一次更新是 2023-08-09,距離現在已有 633 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 2.8 以上版本才可以安裝。
- 有 2 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
gamerz |
外掛標籤
ago | date | days | relative | relativedate |
內容簡介
像是「今天」、「昨天」、「2 天前」、「2 週前」、「2 秒前」、「2 分鐘前」、「2 小時前」等。
一般用法
你不需要做任何事情,WP-RelativeDate 會自動修改你的文章/評論日期或時間顯示。 如果文章或評論超過一個月,將不會添加任何文字。
它將根據以下文字添加文字:
* 文章/評論日期
* 今天
* 昨天
* X 天前
* X 週前
* 文章/評論時間
* X 秒前
* X 分鐘前
* X 小時前
範例
文章/評論日期
今天
昨天
2007 年 1 月 10 日(2 天前)
2007 年 1 月 25 日(2 週前)
文章/評論時間
21:10(2 秒前)
21:15(5 分鐘前)
22:15(2 小時前)
簡碼
[relativedate]
[relativedate date_format="jS F Y" ago_only="false"]
[relativetime]
[relativetime time_format="H:i" ago_only="false"]
建置狀態
發展
https://github.com/lesterchan/wp-relativedate
翻譯
http://dev.wp-plugins.org/browser/wp-relativedate/i18n/
鳴謝
插件圖標由Flaticon的Freepik製作
捐款
我花費大部分的空閒時間來創建、更新、維護和支援這些插件,如果你真的喜歡我的插件並願意付出幾塊錢,我會非常感激。如果不是,請隨意使用而沒有任何義務。
原文外掛簡介
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
Plugin icon by Freepik from Flaticon
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.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「WP-RelativeDate」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
1.00 | 1.10 | 1.11 | 1.20 | 1.30 | 1.31 | 1.40 | 1.50 | 1.00beta |
延伸相關外掛(你可能也想知道)
Meks Time Ago 》Meks Time Ago WordPress 外掛讓您可以輕鬆將文章日期顯示改為「多久以前」的格式,例如「1小時前」、「2週前」、「5個月前」、「4天前」等,同時提供多種選...。
The Time Ago 》時間前外掛, 一鍵將日期和時間轉換為「幾分鐘前/幾小時前」的格式,易於使用,只需一個點擊!支援翻譯(可翻譯為您的語言)。, 功能, , 啟用外掛以顯示時間前...。