plugin-icon

Collapse It – Show More/Less Expand Button

DashboardTeam yazdı·
A Gutenberg block to collapse/expand content with fade effect, customizable height, and auto-hide when empty.
Sürüm
1.0.0
Aktif kurulumlar
20
Son güncellenme
Sep 4, 2025
Collapse It – Show More/Less Expand Button

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

ÜcretsizBusiness paketinde
Kurulum işlemini tamamlayarak, WordPress.com'un Hizmet Şartları ile Üçüncü Taraf Eklenti Şartlarını kabul etmiş olursunuz.
Test edilen son sürüm
WordPress 6.8.3
Bu eklenti, sitenizde kullanılmak üzere indirilebilir.