前言介紹
- 這款 WordPress 外掛「Today's Date Inserter」是 2014-04-28 上架。
- 目前有 1000 個安裝啟用數。
- 上一次更新是 2014-08-19,距離現在已有 3911 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 3.0.1 以上版本才可以安裝。
- 有 6 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
date | current day | todays date | current date | current month |
內容簡介
透過在頁面或文章文字中使用簡單的縮短程式碼,您可以輕鬆快速地在 WordPress 文章中加入當前日期和/或時間。只需在您的文本中使用短碼[todaysdate],當文章或頁面顯示時,[todaysdate]將會被您在設定頁面中定義的當前日期和/或時間所取代。
您也可以透過在縮短程式碼中包含格式字串,以覆寫預設格式。
舉例來說,如果您將下列文字放在您的文章中,並且您的格式字串設定為l,F jS Y
-> Thank you for visiting my site today [todaysdate]。
則會顯示如下日期:
-> Thank you for visiting my site today Wednesday, April 23rd 2014。
以下是如何透過在縮短程式碼中包含格式字串來覆寫預設設定:
[todaysdate format=”F Y”]會顯示April 2014,不論預設設定為何。
此外,此外掛 還包括了一個今日日期小工具。此小工具有其自己的預設格式,但可以透過任何有效的php日期格式字串來覆寫。
此外掛 還會使用 WordPress 的時區設定來顯示時間和日期。
原文外掛簡介
Simply and quickly add the current date and or time to your wordpress posts by using a simple shortcode in the text of your page or post. Simply use the short code [todaysdate] in your text and when the post or page is displayed, [todaysdate] will be replaced by the current date and/or time that you defined on the settings screen.
You can also override the default format by including the format string in the shortcode.
For example, if you placed the following text in your post and your format string was set to l, F jS Y
-> Thank you for visiting my site today [todaysdate].
The date would be displayed as
-> Thank you for visiting my site today Wednesday, April 23rd 2014.
Here how to override he default setting by including the format string in the shortcode
[todaysdate format=”F Y”] would display April 2014 no matter what the default was set to.
This plugin also includes a Today’s date widget. This widget has it’s own default format, but can be overridden by and valid php date format string
The plugin also uses the timezone settings from wordpress to display the time and date.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Today's Date Inserter」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
Date Tool 》這個簡單的外掛能夠讓你在你的網站內插入當前日期、時間或日期和時間相關的資訊。如果你正在手動更新日期和時間,而想要未來自動完成,這個外掛非常實用。, ...。
EZ current date 》這個外掛可以顯示當前的年份和月份,你可以選擇只顯示月份或者只顯示年份。預設情況下,如果你放置 [date],它將顯示當前的年份和月份。如果你想只顯示月份,...。