[WordPress] 外掛分享: Init Recent Comments – Templated, Modern, Minimal

WordPress 外掛 Init Recent Comments – Templated, Modern, Minimal 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Init Recent Comments – Templated, Modern, Minimal」是 2025-09-29 上架。
  • 目前有 40 個安裝啟用數。
  • 上一次更新是 2025-11-05,距離現在已有 112 天。
  • 外掛最低要求 WordPress 5.5 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 7.4 以上。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

brokensmile2103-1 |

外掛標籤

widget | comments | template | shortcode | recent comments |

內容簡介

<h3>總結:</h3>
Init Recent Comments是一個開發者友好的外掛程式,讓您可以透過簡單的短碼在任何地方顯示最新評論。它使用乾淨的HTML、最小的CSS和完全可自定義的範本,適合博客、新聞網站或任何希望更好地展示活躍討論的個人或機構。

<ul>
<li><strong>問題:</strong>Init Recent Comments是一個開發者友好的WordPress外掛程式嗎?</li>
<p><strong>答案:</strong>是的,這是一個開發者友好的外掛程式。</p>

<li><strong>問題:</strong>這個外掛程式如何展示最新的評論?</li>
<p><strong>答案:</strong>透過簡單的短碼可以在任何地方顯示最新評論。</p>

<li><strong>問題:</strong>這個外掛程式最大的特色是什麼?</li>
<p><strong>答案:</strong>它的主要特色包括模板渲染支持、乾淨的CSS、未來設計的REST架構、沒有jQuery等。</p>

<li><strong>問題:</strong>這個外掛程式的授權是什麼?</li>
<p><strong>答案:</strong>這個外掛程式基於GPLv2或更新版本的授權,您可以自由使用、修改和分發它。</p>
</ul>

原文外掛簡介

Init Recent Comments is a developer-friendly plugin that lets you display the latest comments anywhere via a simple shortcode. It uses clean HTML, minimal CSS, and fully customizable templates.
No widgets, no bloated options. Just lightweight, extendable code — made for real sites.
Key design goals:

Templated rendering with override support from themes
Clean CSS you can disable or replace
REST-ready architecture (future-proof)
No jQuery, no nonsense

Perfect for blogs, news sites, or anyone who wants a better way to show active discussions.
This plugin is part of the Init Plugin Suite — a collection of minimalist, fast, and developer-focused tools for WordPress.
GitHub repository: https://github.com/brokensmile2103/init-recent-comments
Features

Simple shortcode: [init_recent_comments]
Template-based rendering (comment-item.php, wrapper.php)
CSS can be disabled to use your theme’s design
No widgets, no jQuery, no frontend bloat
Developer-ready: extend with filters, REST, and lazy loading (planned)
Translation-ready (.pot included)

Usage
Use the shortcode anywhere:
[init_recent_comments number="5" maxheight="400px"]

Attributes:

number – Total comments to show (default: 5)
maxheight – Optional max height with scroll and hidden scrollbar (example: 300px)

To override templates, create the folder in your theme:
your-theme/
└── init-recent-comments/
├── wrapper.php
└── comment-item.php

Filters for Developers

This plugin provides multiple filters to help developers customize caching behavior and performance for recent comments, reviews, and total comment count queries.
init_plugin_suite_recent_comments_ttl
Control the cache TTL (in seconds) for recent comments.
Applies to: Recent Comments Query
Params: int $ttl
init_plugin_suite_recent_comments_query_args
Allows developers to modify or extend the WP_Comment query arguments before the query runs.
Applies to: Recent Comments Query
Params: array $args
init_plugin_suite_recent_reviews_ttl
Control the cache TTL (in seconds) for recent reviews.
Applies to: Recent Reviews Query
Params: int $ttl
init_plugin_suite_total_comments_ttl
Control the cache TTL (in seconds) for total approved comment counts by post type.
Applies to: Total Comments Query
Params: int $ttl, array $post_types
init_plugin_suite_total_by_posts_ttl
Control the cache TTL (in seconds) for total approved comment counts across multiple post IDs.
Applies to: Total by Post IDs Query
Params: int $ttl, array $post_ids
License
This plugin is licensed under the GPLv2 or later.
You are free to use, modify, and distribute it under the same license.

各版本下載點

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

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


1.0 | 1.1 | 1.2 | 1.3 | 1.4 | trunk |

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

  • Template Kit – Import 》一個範本套件是一組預先設計好的起始範本,供 WordPress 網站建立者使用,並具有統一的視覺風格。, 您可以使用此外掛程式匯入 Elementor 的範本套件。, 啟用...。
  • Show Current Template 》這是一款 WordPress 外掛程式,可以在工具列中顯示目前的模板檔案名稱、主題名稱和已包含的模板檔案名稱。如果您喜歡這個外掛, 歡迎買我一杯咖啡!😉此外,...。
  • What The File 》What The File 是一個 WordPress 外掛,在您的工具列中增加了一個選項,顯示目前正在檢視的頁面所使用的文件和模板部分。, 您可以通過單擊文件名直接使用佈景...。
  • Fullwidth Templates for Any Theme & Page Builder 》全寬度網頁範本外掛, 你的佈景主題是否提供全寬度網頁範本?是否需要使用 Beaver Builder、Elementor 等頁面構建者來設計漂亮的全寬度佈局?是否需要完全沒有...。
  • Custom Field Template 》「Custom Field Template 外掛」在「編寫文章/頁面」時,新增自訂欄位的預設設定。這個模板格式基本上跟「rc:custom_field_gui 外掛」差不多,不同處在於:, ...。
  • TinyMCE Templates 》TinyMCE Template 外掛可在 WordPress 視覺化編輯器上使用 HTML 範本。, , 官網, GitHub, , 部份功能:, , 加入「插入範本」按鈕至視覺化編輯器。, 你可在 Wor...。
  • Solace Extra 》<HTML>, <body>, <h3>外掛總結:</h3>, <ul>, <li> Solace Extra 外掛旨在提升 Solace 主題使用者的使用體驗,透過協助...。
  • Multiple Themes 》重要提示:支援服務已移至 ZATZLabs 網站,不再於 WordPress.org 論壇提供。如需開發者迅速回覆,請提交請求單。, 此外掛設定提供多種選擇方式,可讓您選擇要...。
  • Genesis Custom Blocks 》Genesis Custom Blocks 為 WordPress 開發人員提供了必要的工具,以應對現代 WordPress 「區塊先行」的實境。, WordPress 區塊編輯器(又稱 Gutenberg)為我...。
  • Custom Post Template 》提供一個下拉式功能,讓您可以在文章編輯頁面中選擇不同的模板。這些模板和頁面模板類似,且會取代指定文章的 single.php。然而此外掛並不會在文章列表頁面(...。
  • Canvas 》這是一個翻轉傳統的基於區塊的頁面建構器,結合了WordPress 區塊編輯器的特點,擁有卓越的 UI 設計。。
  • Template Kit – Export 》模板套件是一系列預先設計好的起始模板,為 WordPress 網站建構者提供了具有一致視覺風格的選擇。, 您可以使用此外掛程式來匯出 Elementor 的模板套件。, 啟...。
  • Gantry 5 Framework 》Gantry 5是一個全面的建構模組集,可協助快速將設計實現為具有彈性和功能強大的網站主題。, , 請訪問http://gantry.org以下載免費的WordPress Gantry 5預設主...。
  • Gutenverse Companion 》### 總結, Gutenverse Companion 是一款特別設計用來增強和擴展 Gutenverse 基本主題功能的外掛程式。該外掛程式與基本主題無縫集成,提供額外功能、自訂選項...。
  • A WP Life Companion 》這個 A WP Life Companion 外掛是為 A WordPress Life 主題所創建的。, 此外掛會為 A WordPress Life 主題添加自訂前頁區塊,並允許您完全自訂主題前頁區塊的...。

文章
Filter
Apply Filters
Mastodon