[WordPress] 外掛分享: Time Machine

首頁 › 外掛目錄 › Time Machine
WordPress 外掛 Time Machine 的封面圖片
40+
安裝啟用
★★★★★
5/5 分(2 則評價)
39 天前
最後更新
—
問題解決
WordPress 5.3+ PHP 7.4+ v26.9.0 上架:2009-02-13

內容簡介

Time Machine 是一款簡單的外掛,能夠從資料庫中抓取當天或過去特定年份發佈的文章,並以小工具或區塊形式列出。用戶可以自訂標題、顯示的文章數量及無文章時的提示訊息。

【主要功能】
• 支援短碼、舊版小工具及 Gutenberg 區塊
• 自訂顯示的文章數量
• 設定無文章時的提示訊息
• 包含或排除特定頁面及文章
• 顯示文章摘要及評論數量選項
• 僅列出已發佈的文章

外掛標籤

開發者團隊

⬇ 下載最新版 (v26.9.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Time Machine」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Time Machine is a simple plugin that grab N published articles from database (posts and/or pages) published on current day and/or offset of time in past years, and list them in widget or block.
User can set widget title, number of displayed articles and message shown when there is no public articles in past.
Features

Shortcode, legacy widget, block-based widget and Gutenberg block, all with the same options
Set the number of articles to list
Set a custom message for days with no articles in the past, or hide the whole list when there is nothing to show
Include or exclude pages, and optionally exclude articles from the current year
Set offset and offset direction (before, after or both) with a time range in days, weeks or months
Optionally show an excerpt with a custom length; it is generated from post content when there is no manual excerpt
Optionally show the number of comments
Lists only published articles (drafts are never included)
Password protected articles are excluded unless you explicitly enable them; when included, the manual excerpt is used if there is one, otherwise no excerpt is generated from the content until the visitor unlocks the article (same as WordPress core)
Works with full page cache plugins: the list is refreshed after page load through a small REST endpoint (can be disabled with a constant in wp-config.php)
Site Health check warns you if a REST API restriction blocks that refresh, and tells you how to fix it
Cached queries that are cleared automatically whenever a post or page is saved
Clean, semantic HTML5 markup that validates without errors, styled by your theme’s CSS

延伸相關外掛

文章
Filter
Mastodon