[WordPress] 外掛分享: Future Dater

前言介紹

  • 這款 WordPress 外掛「Future Dater」是 2013-05-22 上架。
  • 目前尚無安裝啟用數,是個很新的外掛。如有要安裝使用,建議多測試確保功能沒問題!
  • 上一次更新是 2013-05-23,距離現在已有 4364 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 3.2 以上版本才可以安裝。
  • 有 1 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

swcp |

外掛標籤

date | Future | quarter | shortcode |

內容簡介

Future Dater 是一個簡單的外掛,可提供短代碼以在您的文章或頁面中包含特定類型的未來(或過去)日期。支援的日期類型包括「下一季開始」、「本季最後一天」、「下個月的第一天」等。

特色

[futuredate] 短代碼有 4 個參數:

unit – 必填。您想要修改的當前日期部分。有效值:「month」和「quarter」。

relunit – 可選。您想要引用單位的第一天或最後一天,還是與當前日期相同的那一天。有效值:「first」、「last」或無。

count – 必填。您要修改當前日期的數量,以 unit 參數所指定的單位為主。通常為 1(下個月或下一季)或 0(當前月份或季度)。也接受負值。

format – 可選。PHP 日期格式化字串,用於指定日期的打印方式。最常見的值為「Y-m-d」。

範例

本月底:[futuredate unit=month relunit=last count=0 format=”Y-m-d H:i:s”]

本季末:[futuredate unit=quarter relunit=last count=0 format=”Y-m-d”]

下一季的第一天:[futuredate unit=quarter relunit=first count=1 format=”Y-m-d”]

從現在開始,五個季度之後,季末:[futuredate unit=quarter relunit=last count=5 format=”Y-m-d”]

上一季末:[futuredate unit=quarter relunit=last count=-1 format=”Y-m-d”]

下個月的第一天:[futuredate unit=month relunit=first count=1 format=”Y-m-d”]

兩個月之後:[futuredate unit=month count=2 format=”Y-m-d”]

原文外掛簡介

Future Dater is a simple plugin to provide a shortcode to include certain types of future (or past) dates in your posts or pages. The type of dates supported are “beginning of next quarter”, “last day of this quarter”, “first day of next month”, etc.
Features
There are 4 arguments to the [futuredate] shortcode:

unit – Required. Which part of the current date you want to modify. Valid values: “month” and “quarter”.

relunit – Optional. Whether you want reference the first day or last day of the unit, or the same day as the current date. Valid values: “first”, “last”, or none.

count – Required. How much to modify the current date, in units specified by the unit argument. Most commonly 1 (for next month or next quarter) or 0 (for the current month or quarter). Also accepts negative values.

format – Optional. PHP date-formatting string to specify how the date should be printed. Most common value: `Y-m-d’.

Examples

The end of this month: [futuredate unit=month relunit=last count=0 format=”Y-m-d H:i:s”]

The end of this quarter: [futuredate unit=quarter relunit=last count=0 format=”Y-m-d”]

The first day of next quarter: [futuredate unit=quarter relunit=first count=1 format=”Y-m-d”]

The end of the quarter, 5 quarters from now: [futuredate unit=quarter relunit=last count=5 format=”Y-m-d”]

The end of previous quarter: [futuredate unit=quarter relunit=last count=-1 format=”Y-m-d”]

First day of next month: [futuredate unit=month relunit=first count=1 format=”Y-m-d”]

Two months from now: [futuredate unit=month count=2 format=”Y-m-d”]

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Future Dater」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


0.9 | 0.9.1 | trunk |

延伸相關外掛(你可能也想知道)

  • Parsi Date 》這個外掛是由波斯語開發人員開發,旨在為波斯語 WordPress 帶來更好的使用體驗。它包括了太陽曆(Jalali)日曆、字符問題修復和 WordPress 後臺環境的從右到...。
  • WP Meta and Date Remover 》移除點擊文章的Meta、作者和日期。 安裝、啟用,完成!, 如何移除文章和頁面的作者Meta和日期?, , 安裝 WP Meta and Date remover。, 啟用外掛。, 選擇隱藏...。
  • Hide/Remove Metadata 》Hide/Remove Metadata是一款免費、簡單而非常實用的WordPress外掛,能夠幫助您輕鬆地隱藏或刪除網站上的作者和發布日期。該外掛非常容易使用,僅提供隱藏或移...。
  • WP-Persian 》WP-Persian 是一款快速強大的 WordPress 插件,可提供 Jalali 月曆和波斯語言支援,並支援標準插件。, , 如果您喜歡這款插件,請隨時在這個頁面的右側評分!,...。
  • WP Date and Time Shortcode 》顯示當前、過去和未來日期或時間的簡碼。在您的文章和頁面中顯示今年、上一年、下一年、月份、日期等等。, 這可能是您網站所需的最後一個日期和時間簡碼插件...。
  • WP Author, Date and Meta Remover 》即時自訂或刪除您的元數據!WP 作者、日期和元數據移除 Pro+現已上市。WP ADMR Pro+ for Intelligent Meta Data Control。, WordPress 已成為許多線上企業主...。
  • Show/Hide Content at Set Time 》喜歡這個外掛嗎?請考慮留下評論或寫下你在網站上使用它的經驗–如果你這樣做,請給我一個連結。, 這個外掛在 GitHub 維護,歡迎使用存儲庫報告問題,提...。
  • Meks Time Ago 》Meks Time Ago WordPress 外掛讓您可以輕鬆將文章日期顯示改為「多久以前」的格式,例如「1小時前」、「2週前」、「5個月前」、「4天前」等,同時提供多種選...。
  • Bulk Post Update Date 》使用這個外掛可以一鍵更改所有文章和頁面的發布日期和更新日期,有助於您的部落格在搜尋引擎中排名並且看起來更有活力。建議每週或每個月進行一次更改。, 為...。
  • Bulk Datetime Change 》可批量變更文章的日期/時間。, 可變更的物件, , 文章。, 頁面。, 媒體檔案。, , 日期/時間選擇器, , 可使用 DateTimePicker,一款 jQuery 外掛,選擇日期/時...。
  • Persian Date 》這個外掛可在 WordPress 中使用波斯曆日期。, 功能, 目前只能將日期轉換為波斯曆!如果您已安裝 WooCommerce,在菜單「WooCommerce Persian」下安裝「WooComm...。
  • Seed Buddhist Year 》Seed Buddhist Year可以將輸出的年份改為佛曆或佛教紀元(BE),但不會影響使用基督教/西曆(CE)的微格式。, 只需安裝插件,即可覆蓋以下功能:, , get_the_...。
  • Post Date Time Change 》, 批次更改每篇文章、頁面或媒體庫的日期和時間。, 與 DateTimePicker 一起運作。這是一個 jQuery 外掛,可以選擇日期和時間。, 。
  • Limit Modified Date 》警告:此外掛已不再受支援,可能無法與古騰堡區塊編輯器兼容。, 我建議改用 Change Last Modified Date 外掛。, 概要, 當對內容進行輕微更改時,避免修改日期...。
  • InstallActivateGo Copyright Current Date Shortcodes 》重要提示:支援已轉移至 ZATZLabs 網站,不再在 WordPress.org 論壇提供。如果您需要開發人員的即時回覆,請提交工單。, 如果您需要顯示當前年份並使其保持最...。

文章
Filter
Apply Filters
Mastodon