s3rgiosan/latest-comments-extended
最新稳定版本:1.7.1
Composer 安装命令:
composer require s3rgiosan/latest-comments-extended
包简介
README 文档
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 latest release ZIP from the Releases page.
- 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 install. - 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.
统计信息
- 总下载量: 3
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2025-05-30
