🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Compte Get it free
Init Recent Comments – Templated, Modern, Minimal icon
Activement maintenu Testé avec WP 7.1

Init Recent Comments – Templated, Modern, Minimal

Display recent comments with customizable templates, Block Editor blocks, Abilities API support, and clean CSS.

Installations actives60+10+ niveaux
Téléchargements · 30D404▲ +41.3% vs prev. 30d
Évaluation—0 avis
Score de santé68/100Bon
Téléchargements de tous les temps2KDepuis septembre 2025
Support résolu—Aucun fil de discussion récent
A besoin deWP 6.9PHP 7.4+
Téléchargements · 7j90▲ +30.4% week over week
Notre verdict

Choix solide

Init Recent Comments is a solid plugin choice in 2026, with a few things worth checking first. It runs on 60+ sites and was last updated 1 week ago, and scores 68/100 on our health check.

  • Développé activement — Dernière mise à jour il y a 1 semaine
  • Testé avec le dernier WordPress (7.1)
  • Petite base d'utilisateurs (60+ installations actives)
  • Très peu de critiques jusqu'à présent

Comment s'accumule-t-il ?

Côte à côte sur les installations, les mises à jour, les évaluations et le support

Téléchargements quotidiens

193959Sep 2Oct 16Nov 30
Hier6
Moyenne quotidienne (1 ans)5
Jour de pointe792 Octobre 2026
12 Derniers mois1.7K

Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.

Classements

Where Init Recent Comments stands today

WordPress.org Classements de recherche

Position en direct dans la recherche de plugins, Top 100
Mot-cléPositionPlugins concurrentsCatégorie
les commentaires >100 10,000 Meilleurs commentaires Plugins →
recent comments #15 1,362 Best recent comments plugins →
shortcode >100 10,000 Meilleurs plugins de shortcode →
modèle >100 10,000 Meilleurs plugins de modèles →
widget >100 10,000 Meilleurs plugins de widgets →

Adoption de version

Part de sites actifs par version.

  • 2.0100.0%

About Init Recent Comments

À partir du Lisez-moi officiel · v2.0.2

Description

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, with native Block Editor support and Abilities API integration for the next generation of automation tools.

Key design goals:

  • Native Block Editor blocks, one per shortcode, with live preview
  • Abilities API support (WordPress 6.9+) for AI agents and automation tools
  • 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

Traits

  • Block Editor (Gutenberg) blocks: Recent Comments, Recent Reviews, User Recent Comments, User Recent Reviews — each with a live server-side preview in the editor
  • Abilities API (WordPress 6.9+): all 4 shortcodes’ data exposed as discoverable, executable abilities via wp_get_abilities() and the wp-abilities/v1 REST namespace
  • Simple shortcode: [init_plugin_suite_recent_comments] (legacy alias: [init_recent_comments])
  • Shortcode for displaying recent reviews: [init_plugin_suite_recent_reviews] (legacy alias: [init_recent_reviews])
  • Shortcode for displaying recent comments of a specific user: [init_plugin_suite_user_recent_comments] (legacy alias: [init_user_recent_comments])
  • Shortcode for displaying recent reviews of a specific user: [init_plugin_suite_user_recent_reviews] (legacy alias: [init_user_recent_reviews])
  • 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)

Éditeur de blocs (Gutenberg)

Four dynamic blocks are available under their own Init Recent Comments category in the block inserter — no shortcodes needed if you prefer working entirely in the editor:

  • Recent Comments — equivalent to [init_plugin_suite_recent_comments]
  • Recent Reviews — equivalent to [init_plugin_suite_recent_reviews]
  • User Recent Comments — equivalent to [init_plugin_suite_user_recent_comments]
  • User Recent Reviews — equivalent to [init_plugin_suite_user_recent_reviews]

Each block shares the exact same rendering code as its shortcode, so switching between the Block Editor and shortcodes never changes the output. Block settings map directly to shortcode attributes, and a live preview is shown right in the editor as you configure it.

Abilities API (WordPress 6.9+)

On WordPress 6.9 and above, Init Recent Comments registers four read-only abilities under the init-recent-comments category — get-recent-comments, get-recent-reviews, get-user-recent-comments, and get-user-recent-reviews — mirroring the plugin’s four shortcodes exactly. This plugin has no write actions at all (it’s a pure display plugin), so all of its functionality is safely exposed. These abilities are discoverable and executable via PHP (wp_get_abilities()), and — for sites that opt in — the wp-abilities/v1 REST namespace. This integration is fully optional: on WordPress versions older than 6.9, it silently does nothing and the rest of the plugin is unaffected.

Privacy note: looking up guest comments by user_email through get-user-recent-comments requires the moderate_comments capability, and get-user-recent-reviews only returns non-approved reviews (pending, rejected, …) to users with manage_options. Everything else stays public, exactly like the shortcodes.

Usage

Prefer working in the Block Editor? Each shortcode below has an equivalent block — see the “Block Editor (Gutenberg)” section above.

Use the shortcode anywhere:

[init_plugin_suite_recent_comments number="5" maxheight="400px"]

Recent reviews:

[init_plugin_suite_recent_reviews number="5"]

Recent comments of a specific user:

[init_plugin_suite_user_recent_comments user_id="123"]

Recent reviews of a specific user:

[init_plugin_suite_user_recent_reviews user_id="123"]

The legacy tags [init_recent_comments], [init_recent_reviews], [init_user_recent_comments], and [init_user_recent_reviews] still work exactly the same way, for backward compatibility with existing content.

Attributes:

  • number – Total items to show (default: 5)
  • maxheight – Optional max height with scroll and hidden scrollbar (example: 300px)
  • paged – Optional pagination
  • theme – Light or dark (example: theme="dark")
  • For user shortcodes: user_id, user_login, or user_email can be used to target the user

To override templates, create the folder in your theme:

your-theme/
└── init-recent-comments/
    ├── wrapper.php
    ├── review-wrapper.php
    ├── comment-item.php
    └── review-item.php<h3>Filters for Developers</h3>

This plugin provides multiple filters to help developers customize caching behavior and performance for recent comments, reviews, and total comment count queries.

By default, comment/review queries are NOT cached (TTL = 0) so newly posted comments always show up immediately — this is intentional, since most sites using this plugin expect real-time freshness. If your site has heavy traffic and you’re fine with a short delay before new comments appear, you can enable caching yourself using the filters below (a value like 60 for 60 seconds is a reasonable starting point). Total comment count queries default to a 5-minute TTL instead, since counts are less time-sensitive.

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_user_recent_comments_ttl  

Control cache TTL (in seconds) for recent comments by a specific user.
Applies to: [init_user_recent_comments]
Params: int $ttl, array $args

init_plugin_suite_user_recent_reviews_ttl  

Control cache TTL (in seconds) for recent reviews by a specific user.
Applies to: [init_user_recent_reviews]
Params: int $ttl, array $args

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

init_plugin_suite_recent_comments_visible_reviews  

Filter the list of reviews after reviews on non-public posts (draft, pending, private, deleted) have been removed.
Applies to: Recent Reviews and User Recent Reviews
Params: array $visible, array $reviews

Licence

This plugin is licensed under the GPLv2 or later.
You are free to use, modify, and distribute it under the same license.

Installation

  1. Upload the plugin folder to /wp-content/plugins/
  2. Activate via Plugins → Init Recent Comments
  3. Use the shortcode [init_plugin_suite_recent_comments] in any page or widget
  4. Optional: Visit Settings → Init Recent Comments to disable built-in CSS

Journal de modifications

2.0.2 – November 2, 2026

  • Performance: comment meta for the whole list is now loaded in one batch when cached lists are enabled (TTL filters). Previously, a list served from the cache skipped WordPress’s batch meta loading, so a theme or template reading comment meta (for example a spoiler flag) loaded it one comment at a time — 10 extra object cache or database lookups for 10 comments
  • Performance: the same applies to the user shortcodes and the Abilities API

2.0.1 – October 2, 2026

  • Security: recent comments (shortcodes, blocks, and abilities) now only include comments on published posts — the same rule as WordPress core’s Recent Comments widget. Previously, approved comments on private or draft posts (and those posts’ titles) could be shown publicly. The query can still be customized through init_plugin_suite_recent_comments_query_args / init_plugin_suite_user_recent_comments_query_args
  • Security: recent reviews (from Init Review System) now skip reviews whose post isn’t publicly viewable (draft, pending, private, deleted), so those post titles, links, and review contents are no longer exposed. New filter init_plugin_suite_recent_comments_visible_reviews lets developers adjust the result
  • Security (Abilities API): get-user-recent-comments only allows looking up guest comments by user_email for users who can moderate comments, so the public endpoint can no longer be used to match email addresses to commenters. Lookups by user_id / user_login are unchanged
  • Security (Abilities API): get-user-recent-reviews only returns non-approved reviews (pending, rejected, …) to users with the manage_options capability (the same capability Init Review System uses for review management). Approved reviews stay public
  • Fix: the maxheight attribute (and the block’s “Max Height” setting) is now actually applied (e.g. maxheight="300px"). Previously the value was ignored and the list was always capped at 650px. Values that aren’t a plain number + unit (px, em, rem, vh, vw, %) keep the old 650px behavior
  • Fix: the “Disable built-in CSS” option now also applies to the four blocks — previously a page using a block still loaded the plugin’s stylesheet even with the option on
  • Fix: review links were double-escaped, breaking post URLs that contain query strings (e.g. & in plain permalinks)
  • Fix: “time ago” values are now calculated from GMT timestamps instead of the deprecated current_time( 'timestamp' ) pattern, so they stay correct across timezones and DST
  • Fix: the Shortcode Builder’s Copy / Close buttons and “Shortcode Preview” label are now translated (the script read the wrong i18n object), Copy also works on non-HTTPS admin screens, and labels are inserted as text instead of HTML — synced with the Init Review System 2.0.1 builder
  • Fix: the user shortcodes no longer leave an unclosed output buffer when a template file can’t be found
  • Fix: the settings sanitizer now respects a disable_css value of 0 set programmatically
  • Fix: the Block Editor script now declares its wp-data dependency
  • Performance: posts, users, and parent comments are now loaded in batches before rendering — about 6 database queries instead of ~33 for 10 comments (and 5 instead of ~32 for 10 reviews) on sites without a persistent object cache
  • Performance: template files are located once per request instead of once per item
  • Performance: when caching is enabled through the TTL filters, cached lists are now invalidated automatically when comments, posts, or reviews change (using WordPress last_changed and Init Review System’s cache version), so new comments show up immediately instead of after the TTL expires
  • Code quality: all PHP files now follow the WordPress Coding Standards (WPCS 3), matching the rest of the Init Plugin Suite
  • i18n: added the new strings to the .pot file and the Vietnamese translation

2.0.0 – August 4, 2026

  • New: Abilities API support (WordPress 6.9+): registers four read-only abilities under the init-recent-comments category — get-recent-comments, get-recent-reviews, get-user-recent-comments, and get-user-recent-reviews — mirroring all four shortcodes exactly. This plugin has no write actions, so all of its data is safely exposed. Discoverable and executable via PHP, wp_get_abilities(), and — when a site opts in — the wp-abilities/v1 REST namespace. Fully optional and backward-compatible: on WordPress versions older than 6.9, the integration silently does nothing
  • New: Block Editor (Gutenberg) support: four dynamic blocks, grouped under their own Init Recent Comments block category (instead of the generic “Widgets” category) — Recent Comments, Recent Reviews, User Recent Comments, and User Recent Reviews, matching the four existing shortcodes. Each block is registered via block.json (with a PHP render.php file wired through the "render" field, WP 6.1+) that calls the exact same shortcode function as its shortcode counterpart — no duplicated display logic, output always matches. The editor integration is a single, no-build-step vanilla JavaScript file using wp.serverSideRender for a live preview directly in the editor
  • Changed: Requires at least raised from 5.5 to 6.9 to support the Abilities API integration. Requires PHP remains 7.4
  • Tested up to: 7.1

1.5 – July 21, 2026

  • Shortcode Builder in the admin settings page now generates the prefixed shortcodes ([init_plugin_suite_recent_comments], [init_plugin_suite_recent_reviews], [init_plugin_suite_user_recent_comments], [init_plugin_suite_user_recent_reviews]) by default; legacy tags remain fully supported
  • Updated documentation to use the prefixed shortcodes as the primary examples, with legacy tags noted as backward-compatible aliases
  • Uninstall routine now reliably removes the plugin’s settings option
  • Documented the default caching behavior (TTL = 0 for comments/reviews) in the Filters for Developers section
  • Internal code cleanup for readability and maintainability

1.4 – November 5, 2025

  • Introduced new user-specific shortcodes:
    • [init_plugin_suite_user_recent_comments] — display recent comments made by a specific user
    • [init_plugin_suite_user_recent_reviews] — display recent reviews made by a specific user
    • Backward-compat maintained: [init_user_recent_comments] and [init_user_recent_reviews]
  • Both shortcodes reuse existing template system (wrapper.php / review-wrapper.php), ensuring UI consistency
  • Fully supports pagination, theme mode, max height, and query argument overriding through filters
  • Added new helpers for fetching user data:
    • init_plugin_suite_recent_comments_get_user_comments()
    • init_plugin_suite_recent_comments_get_user_reviews()
  • Implemented separate cache groups for user comments & user reviews
    • TTL fully customizable via filters (init_plugin_suite_user_recent_comments_ttl, init_plugin_suite_user_recent_reviews_ttl)
  • Updated review item template:
    • Display reviewer name and avatar resolved from user_id instead of relying on non-existing author_name
    • Fallback support for anonymous reviewers
  • Internal improvements and cleanup for code reliability and maintainability

1.3 – November 4, 2025

  • Added new filter init_plugin_suite_recent_comments_query_args allows developers to modify or extend the comment query args before running get_comments()
  • Improved recent comments retrieval function:
    • Supports overriding query parameters via filter (e.g., filter by post_type, change number, include meta_query, etc.)
    • Maintains full backward compatibility
  • UI update for Reply-to context:
    • Recent comment items now display “Replying to {Author}” when the comment has a parent
    • Added minimal CSS styling (non-intrusive, inherits container background)
  • Codebase refinements:
    • Minor internal cleanups for readability and maintainability
    • Consistent filter naming across features to match the plugin’s prefix standard

Journal des modifications complet sur WordPress.org →

Captures d'écran

Settings page with CSS toggle
Settings page with CSS toggle

Pour les développeurs

Est-ce votre plugin ? Montrez les chiffres.

Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.

Badge d'installations actives Badge Badge de score de santé

Best Init Recent Comments alternatives

Tous les commentaires Plugins →
Alternatives
Rang Plugin Installations actives Évaluation Mise à jour Santé
1 Anti-spam AKISMET : protection anti-spam Anti-spam AKISMET : protection anti-spam The best anti-spam protection to block spam comments and spam in a contact form. The most… par Automattic 5M+ ★★★★★★★★★★ 4.7 (1.2K) Il y a 3 mois 73
2 Désactiver les commentaires Désactiver les commentaires Désactivez les commentaires dans tout le site ou par type de publication, supprimez les commentaires existants en masse et bloquez… par WPDeveloper 1M+ ★★★★★★★★★★ 4.7 (282) Il y a 2 semaines 93
3 Abeille antispam Abeille antispam Plugin anti-spam sophistiqué pour des commentaires quotidiens efficaces et des combats anti-spam… par PluginKollektiv 700K+ ★★★★★★★★★★ 4.8 (227) Il y a 3 mois 72
4 Gravatar amélioré – Avatars, profils et confidentialité Gravatar amélioré – Avatars, profils et confidentialité Le plugin officiel Gravatar, avec des paramètres axés sur la confidentialité, des mises à jour de profil faciles et… par Automattic 200K+ ★★★★★★★★★★ 5 (3) il y a 1 mois 78
5 Désactiver les commentaires Désactiver les commentaires Désactiver, masquer, supprimer en bloc et répondre automatiquement aux commentaires et aux commentaires WooCommerce —… par rbplugins 100K+ ★★★★★★★★★★ 3.8 (25) 3 semaines plus tôt 90
6 Système de commentaires Disqus Système de commentaires Disqus Disqus est le système de commentaires le plus populaire du Web. Utilisez Disqus pour augmenter l'engagement, conserver… par Disqus 30K+ ★★★★★★★★★★ 2.7 (219) il y a 1 mois 65
7 Jette du spam Jette du spam Un puissant plugin anti-spam qui ignore silencieusement les commentaires de spam sans afficher aucune erreur… Par 10K+ ★★★★★★★★★★ 5 (6) Il y a 3 mois 75
8 Cookies pour commentaires Cookies pour commentaires Définit un cookie sur un URL aléatoire qui est ensuite vérifié lorsqu'un commentaire est publié. Si le cookie… de Donncha O Caoimh (A11N) 10K+ ★★★★★★★★★★ 4.9 (18) Il y a 7 ans 42
9 Abonnez-vous aux commentaires Abonnez-vous aux commentaires S'abonner aux commentaires Permet aux commentateurs sur une entrée de s'abonner aux notifications par e-mail… par Mark Jaquith 10K+ ★★★★★★★★★★ 3.9 (14) Il y a 2 mois 77
10 Sessions PHP natives Sessions PHP natives Utilisez des sessions PHP natives et restez horizontalement évolutif. Mieux vivre grâce à un supérieur… par les systèmes Panthéon 10K+ ★★★★★★★★★★ 4.9 (16) il y a 12 mois 46

FAQ

Init Recent Comments: quick answers

Réponses directes, extraites des données en direct WordPress.org.

Source : WordPress.org

Is Init Recent Comments free?

Yes. Init Recent Comments is free to download and use from the official WordPress.org plugin directory.

Is Init Recent Comments safe to use in 2026?

Init Recent Comments is a solid plugin choice in 2026, with a few things worth checking first. It runs on 60+ sites and was last updated 1 week ago, and scores 68/100 on our health check.

How many websites use Init Recent Comments?

Init Recent Comments is active on 60+ WordPress websites and has been downloaded 2,027 times since it launched in September 2025. It was downloaded 404 times in the last 30 days.

Does Init Recent Comments work with WordPress 7.1?

Yes. The developer has tested Init Recent Comments up to WordPress 7.2, the latest release. It requires WordPress 6.9 or newer.

What PHP version does Init Recent Comments need?

Init Recent Comments requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was Init Recent Comments last updated?

The latest version, 2.0.2, was released on November 23, 2026 (1 week ago).

Who makes Init Recent Comments?

Init Recent Comments is developed and maintained by Init HTML.

What are the best alternatives to Init Recent Comments?

The most popular alternatives to Init Recent Comments are Akismet Anti-spam: Spam Pro… (5M+ installs), Disable Comments (1M+ installs) and Antispam Bee (700K+ installs).

Propulsé par PageForge

Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.

PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.

  • CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
  • Son propre titre, URL, SEO champs et schéma pour chaque page
  • Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
  • Gratuit sur WordPress.org, pas de carte de crédit

↑↓ bouger↵ ouvrir