s3rgiosan / latest-comments-extended
Package info
github.com/s3rgiosan/latest-comments-extended
Type:wordpress-plugin
pkg:composer/s3rgiosan/latest-comments-extended
1.6.0
2026-03-04 21:55 UTC
Requires
- php: ^7.4|^8.0
- composer-plugin-api: ^2.3
- yahnis-elsts/plugin-update-checker: ^5.5
Requires (Dev)
- pixelalbatross/coding-standards: dev-main
README
Extends the Latest Comments block with additional features.
Description
Enhances the WordPress core Latest Comments block by adding a post type filter. By default, the Latest Comments block displays comments from all post types — this plugin lets you narrow it down to a specific one.
Requirements
- WordPress 6.7 or later
- PHP 7.4 or later
Features
- Filter comments by post type using a new control in the block inspector sidebar
- Automatically detects all public post types registered on your site
- Adapts the UI based on the number of available post types (dropdown for many, toggle buttons for few)
- Reset the filter to show comments from all post types
Usage
- Add or select a Latest Comments block in the editor.
- Open the block settings sidebar.
- Under Filters, choose a post type to display comments from.
- To show comments from all post types again, choose "All" or click Reset All.
Installation
Manual Installation
- Download the plugin ZIP file from the GitHub repository.
- Go to Plugins > Add New > Upload Plugin in your WordPress admin area.
- Upload the ZIP file and click Install Now.
- Activate the plugin.
Install with Composer
To include this plugin as a dependency in your Composer-managed WordPress project:
- Add the plugin to your project using the following command:
composer require s3rgiosan/latest-comments-extended
- Run
composer installto install the plugin. - Activate the plugin from your WordPress admin area or using WP-CLI.
Changelog
A complete listing of all notable changes to this project are documented in CHANGELOG.md.
