[WordPress] 外掛分享: Post Date Block: Published & Modified

WordPress 外掛 Post Date Block: Published & Modified 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Post Date Block: Published & Modified」是 2026-01-23 上架。
  • 目前尚無安裝啟用數,是個很新的外掛。如有要安裝使用,建議多測試確保功能沒問題!
  • 上一次更新是 2026-01-24,距離現在已有 32 天。
  • 外掛最低要求 WordPress 6.9 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 7.4 以上。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

westonruter |

外掛標籤

date | block | gutenberg | site editor | Block Templates |

內容簡介

總結:此外掛擴展了核心的「文章日期」區塊變化,將修訂日期添加到區塊中,當它與發佈日期不同時(在提供的日期格式中呈現)。您可以為兩個日期設定前綴和後綴,並將修改日期顯示在單獨的行上。

HTML標籤的項目清單:

- 這個外掛擴展了核心的「文章日期」區塊變化,專門針對日期區塊的「文章日期」變化。
- 在區塊中附加了修改日期,每當它與發佈日期不同時(在提供的日期格式中呈現)。
- 您可以為這兩個日期配置前綴和後綴,並將修改日期顯示在單獨的行上。
- 要查看此外掛的詳細介紹,請查看我的部落格文章。
- 這是 gutenberg#53099 的一個原型或臨時解決方案(文章日期:不清楚「顯示修改日期」是否取代了發佈日期)。
- 請參閱 gutenberg#61920(為文章日期區塊添加前綴/後綴)。最終加入核心的功能將希望利用「shortblocks」,這樣條件前綴和後綴就不必在區塊設定面板中提供。
- 使用方法:
- 打開站點編輯器以編輯區塊模板。
- 插入日期區塊。
- 在區塊設定中,點擊「轉換為變化」按鈕,選擇「文章日期」。
- 一個新的「包含修改日期」面板將出現在設定中。啟用「當修改日期不同於發佈日期時顯示修改日期」切換按鈕。
- 配置當兩者於所選日期格式中不同時,發佈日期和修改日期的前綴和後綴;可選啟用切換按鈕以在單獨一行上顯示修改日期。
- 注意:編輯器中目前沒有預覽。要查看更改,保存區塊模板並在前端導航到至少在發佈後一天內修改過的文章。

原文外掛簡介

This plugin extends the core Post Date block variation, specifically the “Post Date” variation of the Date block. It appends the modified date to the block whenever it differs from the published date (when rendered in the provided date format). You can configure prefixes and suffixes for both dates, and you can display the modified date on a separate line.
For a full writeup of this plugin, see my blog post.
This is a prototype or stopgap for gutenberg#53099 (Post date: It is not clear that “display modified date” replaces the publishing date). See also gutenberg#61920 (Add prefix / suffix to Post Date block). What eventually lands in core will hopefully leverage “shortblocks” so that the conditional prefixes and suffixes needn’t be provided in a block settings panel.
Usage

Open the Site Editor to edit a block template.
Insert a Date block.
In the block settings, click the “Transform to variation” button and select “Post Date”.
A new “With Modified Date” panel appears in the settings. Enable the “Show modified date when different from published date” toggle.
Configure the prefixes and suffixes for the published date and modified date when the two differ for the selected date format; optionally enable the toggle to show the modified date on a separate line.

Note: There is currently no preview in the editor. To see the changes, save the block template and navigate on the frontend to a post that has been modified at least a day after publishing.

各版本下載點

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

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


1.0.0 | trunk |

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

  • Classic Editor 》Classic Editor 是由 WordPress 團隊維護的官方外掛程式,可還原之前(也就是「經典」)的 WordPress 編輯器和「編輯文章」畫面,使使用者可以使用延伸這個畫...。
  • Advanced Editor Tools 》高級編輯工具(以前稱為 TinyMCE Advanced)引入了一個「經典段落」區塊,供區塊編輯器(Gutenberg)使用。, 如果您還沒有準備好切換到區塊編輯器,或者有插...。
  • Classic Widgets 》Classic Widgets 是由 WordPress 團隊維護的官方外掛,能夠恢復先前(即「經典」)的 WordPress widgets 設定畫面。該外掛將於 2024 年或必要時保持支援和維...。
  • Starter Templates – AI-Powered Templates for Elementor & Gutenberg 》免費模板,支援 Elementor、Beaver Builder 和 Block Editor, 使用 Starter Templates 外掛,只需數分鐘即可建立專業且完美的網站。此外掛為使用者提供超過 2...。
  • Spectra Gutenberg Blocks – Website Builder for the Block Editor 》a.com/tutorials/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme" rel="nofollow ugc">Spectra tutorials, you can easily learn how to ...。
  • Kadence Blocks — Page Builder Toolkit for Gutenberg Editor 》Kadence Blocks 是一個 WordPress 外掛,它附加自訂區塊和選項,擴展了 Gutenberg 編輯功能,使您能夠輕鬆創建美麗的網站,而不需要任何程式編寫。Kadence Bl...。
  • Disable Gutenberg 》此外掛可禁用新的 Gutenberg 編輯器 (也稱為區塊編輯器),並以經典編輯器取代它。你可以完全禁用 Gutenberg,或從文章、頁面、角色、文章類型和主題模板中有...。
  • Extendify 》Extendify 是一個網站設計和製作工具平台,提供豐富的圖案和全頁面佈局,可用於 Gutenberg 區塊編輯器,幫助人們建立美麗的 WordPress 網站。, 使用 Extendif...。
  • Otter Blocks – Gutenberg Blocks, Page Builder for Gutenberg Editor & FSE 》Otter 是一款 Gutenberg Blocks 頁面建構外掛,可為 WordPress Block Editor(又稱 Gutenberg)添加額外功能,讓您享受更好的頁面建構體驗,而無需使用傳統的...。
  • Page Builder Gutenberg Blocks – CoBlocks 》, 注意:對於已受 CoBlocks 3.0.0 版本影響的使用者,請查看我們在 WordPress.org 支援論壇文章,如果您需要支援,請建立新的主題帖。, , CoBlocks 是新版 Gu...。
  • AI Powered Starter Templates by Kadence WP 》用三個滑鼠點擊建立一個美觀的「效能優化」網站, 在幾分鐘內創建和自定義專業設計的網站。, Kadence Starter Templates 為您提供使用 WordPress 區塊構建器的...。
  • GenerateBlocks 》將不同的功能整合至編輯器,但並不會因為過多的一維方塊造成內容過於臃腫。使用 GenerateBlocks,您只需深入學習少量的方塊,即可用於創建任何內容。, Genera...。
  • Gutenberg Essential Blocks – Page Builder for Gutenberg Blocks & Patterns 》使用 Essential Blocks for Gutenberg,即可實現您的創意視覺效果,這是適用於 WordPress 的最終區塊庫!, 使用我們易於使用的區塊,增強您使用 Gutenberg 的...。
  • VK Blocks 》這是一個擴充 Gutenberg 模塊的外掛。, [ 模塊 ], , 成員, 外框, 警示, 常問問題, 氣球, 流, 按鈕, 公關模塊, 公關內容, 邊框盒, 標題(帶副標題), 響應間距...。
  • Stackable – Page Builder Gutenberg Blocks 》終極與古鐸版衣搭檔, Stackable 是您一直在等待的終極可靠古鐸版衣搭檔。使用堅強、輕便的自訂區塊、現成設計、UI套件、全域設定和高級自訂選項建立動態網站...。

文章
Filter
Apply Filters
Mastodon