Title: Collapse It &#8211; Show More/Less Expand Button
Author: DashboardTeam
Published: <strong>2025 年 9 月 1 日</strong>
Last modified: 2025 年 9 月 4 日

---

搜索插件

![](https://ps.w.org/collapse-it/assets/banner-772x250.png?rev=3353873)

![](https://ps.w.org/collapse-it/assets/icon-256x256.png?rev=3353873)

# Collapse It – Show More/Less Expand Button

 作者：[DashboardTeam](https://profiles.wordpress.org/manieroo/)

[下载](https://downloads.wordpress.org/plugin/collapse-it.1.0.1.zip)

 * [详情](https://cn.wordpress.org/plugins/collapse-it/#description)
 * [评价](https://cn.wordpress.org/plugins/collapse-it/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/collapse-it/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/collapse-it/#developers)

 [支持](https://wordpress.org/support/plugin/collapse-it/)

## 描述

**Collapse It** is a modern Gutenberg block that allows you to collapse or expand
any content area with a smooth fade effect and a customizable “Show More / Show 
Less” button. The block is highly flexible, letting you set the collapsed height,
button styles, and texts. It also features smart empty-content detection: if the
block is empty (even if it contains an empty shortcode block), it will automatically
hide itself, keeping your pages clean and professional.

**Key Features:**
 * Collapse/expand any content with a fade effect * Automatically
hides when empty (even with empty shortcode or any dynamic blocks) * Customizable
collapsed height * Fully customizable Show More / Show Less button (text, color,
alignment, border radius, font size, padding) * Gutenberg block editor support *
No tracking, no ads, no bloat * 100% WordPress Coding Standards compliant * Developer:
Dashboard Team

### Usage

 1. Insert the “Show More (Collapse)” block in the editor.
 2. Add any content (text, images, blocks, or even shortcodes) inside the block.
 3. Adjust the collapsed height and button styles from the block settings panel.
 4. The block will automatically hide itself if left empty (including empty shortcode
    blocks).

### License

This plugin is licensed under the GPLv2 or later. See https://www.gnu.org/licenses/
gpl-2.0.html

## 屏幕截图

[⌊Collapsed content on the frontend⌉⌊Collapsed content on the frontend⌉[

Collapsed content on the frontend

[⌊Expanded content on the frontend⌉⌊Expanded content on the frontend⌉[

Expanded content on the frontend

[⌊Finding Collapse it block⌉⌊Finding Collapse it block⌉[

Finding Collapse it block

[⌊Block settings in the editor⌉⌊Block settings in the editor⌉[

Block settings in the editor

[⌊Style settings in the editor⌉⌊Style settings in the editor⌉[

Style settings in the editor

## 区块

该插件提供了 1 个区块.

 *   Show More (Collapse) A block that collapses content with a fade and a show 
   more/less button.

## 安装

 1. Upload the plugin files to the `/wp-content/plugins/collapse-it` directory, or 
    install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress.
 3. Add the “Show More (Collapse)” block to any post or page using the Gutenberg editor.

## 常见问题

### Will the block show up if I add an empty shortcode or leave it blank?

No. The block automatically checks for visible content and hides itself if empty,
even if you add an empty shortcode block inside.

### Can I customize the Show More / Show Less button?

Yes! You can change the button text, color, alignment, border radius, font size,
and padding from the block settings panel.

### Is this block compatible with all themes?

The block is designed to work with any theme that supports Gutenberg blocks. For
best results, use a modern, block-based theme.

### Does this plugin add any tracking or ads?

No. Collapse It is 100% privacy-friendly and contains no tracking, ads, or bloat.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Collapse It – Show More/Less Expand Button」是开源软件。 以下人员对此插件做出了
贡献。

贡献者

 *   [ DashboardTeam ](https://profiles.wordpress.org/manieroo/)

[帮助将「Collapse It – Show More/Less Expand Button」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/collapse-it)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/collapse-it/)，查看[SVN仓库](https://plugins.svn.wordpress.org/collapse-it/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/collapse-it/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/collapse-it/)。

## 更新日志

#### 1.0.0

 * Initial release

## 额外信息

 *  版本 **1.0.0**
 *  最后更新：**9 月前**
 *  活跃安装数量 **40+**
 *  WordPress 版本 ** 5.8 或更高版本 **
 *  已测试的最高版本为 **6.8.5**
 *  语言
 * [English (US)](https://wordpress.org/plugins/collapse-it/)
 * 标签
 * [collapse](https://cn.wordpress.org/plugins/tags/collapse/)[expand](https://cn.wordpress.org/plugins/tags/expand/)
   [fade](https://cn.wordpress.org/plugins/tags/fade/)[gutenberg](https://cn.wordpress.org/plugins/tags/gutenberg/)
   [show more](https://cn.wordpress.org/plugins/tags/show-more/)
 *  [高级视图](https://cn.wordpress.org/plugins/collapse-it/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/collapse-it/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/collapse-it/reviews/)

## 贡献者

 *   [ DashboardTeam ](https://profiles.wordpress.org/manieroo/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/collapse-it/)