[WordPress] 外掛分享: SoJ User Time Zone

首頁外掛目錄 › SoJ User Time Zone
全新外掛
安裝啟用
尚無評分
6197 天前
最後更新
問題解決
WordPress 2.7.1+ v1.0 上架:2009-04-23

內容簡介

我的目標是創建一個外掛,允許作者設置他們自己的時區。這不需要太多時間,但我一直一再推遲。它只需要考慮日光節約時間,但這有點棘手,因為你需要以某種方式記錄過去發佈的文章的 DST 時間。

我有一些實現這個的想法,但如果有人有任何聰明的想法,請馬上展示出來。我打算鉤取pre_option_gmt_offset而不是現在所使用的get_the_time 過濾器。

如果有任何問題,請通知我:[email protected]

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「SoJ User Time Zone」→ 直接安裝(推薦)

原文外掛簡介

My intention was to create a plugin to allow authors to set their own time zones. It shouldn’t take too much, but I keep having to put it off. It just needs to take into account daylight savings time, but this is a little tricky because you need to keep a record somehow of past DST times for posts published in the past.
I have a couple ideas for implementing this, but if anyone else has any brilliant ideas, please go for it. Another thing I intend to do is hook into pre_option_gmt_offset instead of the get_the_time filter, as it does now.
Let me know of any problems: [email protected]

延伸相關外掛

文章
Filter
Apply Filters
Mastodon