前言介紹
- 這款 WordPress 外掛「Posts by GMT」是 2011-10-05 上架。
- 目前尚無安裝啟用數,是個很新的外掛。如有要安裝使用,建議多測試確保功能沒問題!
- 上一次更新是 2011-10-06,距離現在已有 4959 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 3.0 以上版本才可以安裝。
- 尚未有人給過這款外掛評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
rjl20 |
外掛標籤
gmt | UTC | posts | orderby | post_date | time zone | sort order | post_date_gmt |
內容簡介
大多數人不需要此外掛程式。如果他們沒有它,也不會注意到任何差別。這個外掛程式只是將 WP_Query 的預設排序從「posts.post_date」更改為「posts.post_date_gmt」——也就是依據文章的 GMT 時間戳記排序,而不是依據本地時區。
誰需要這個外掛程式呢?需要經常切換時區的人。需要運行 WordPress 網絡安裝並希望能夠輕鬆地聚合所有網絡博客並照正確順序排序的人。我不知道。我為 FreeThoughtBlogs.com 編寫它,以便他們的「最新文章」側邊欄不會只顯示來自早期時區幾個博客的文章。如果對您有用,那太好了。
我希望這個外掛程式會被 WordPress 核心更改默認排序順序所取代。我想不出為什麼評論是按 GMT 排序,而文章則按本地時間排序。
就我所知,此外掛程式可能適用於比 3.0 更舊的版本。我只在 3.2.1 上測試了它。
原文外掛簡介
Most people don’t need this plugin. Most wouldn’t notice a difference if they had it. All it does is change the default sort order of a WP_Query from posts.post_date to posts.post_date_gmt — that is, sort on the GMT timestamp of a post rather than the local time zone.
Who needs this? People who switch time zones frequently. People running a network installation of WordPress where they want to be able to aggregate posts from all their network blogs easily, and in the right order. I don’t know. I wrote it for FreeThoughtBlogs.com, so their “most recent posts” sidebar would stop showing only posts from a few blogs in early time zones. If it works for you, great.
I have every hope that this plugin will be made obsolete by the default sort order being changed in the WordPress core. I can think of no good reason why comments are sorted by GMT but posts by local time.
For all I know, this plugin works with older versions than 3.0. I’ve only tested it with 3.2.1.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Posts by GMT」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
Pre Date Future Post 》本外掛允許您設定文章在未來自動發佈,但日期卻在過去。, 例如,您的部落格可能是一本日記,您需要補上幾篇文章。, 您寫了5篇文章,涵蓋了過去幾周的內容,但...。