跳到内容

Simple Expand – Lightweight Read more toggle

v1.3

Jonas Hjalmarsson · 2022年2月10日 上架

Adds an [expand] shortcode that wraps content in a native HTML `` toggle. No JavaScript, no settings page, no bloat.

正在使用
40+
评分
暂无
累计下载
4,431
最近更新
2026年10月23日
需要 WordPress 5.0+已测试到 7.1.5PHP 7.4+

截图

Closed Simple Expand.
Closed Simple Expand.
Open Simple Expand with HTML inside.
Open Simple Expand with HTML inside.

A single shortcode you can drop into any post, page, or text widget to get a click-to-expand “read more” toggle. The output is a native HTML <details> element styled with a small inline stylesheet — nothing else.

The point is the absence of features. There is no settings page, no animation library, no editor block panel with twelve toggles. If you need a read-more on one paragraph in one post, you do not want a plugin that wants to manage your whole site.

Usage:

[expand title="My title"]
The content goes here.
<img src="even-images-can-go-in-here.jpg" />
And wrap up with a closing expand tag.
[/expand]

Supports a custom CSS class via [expand class="my-class"] and works with WordPress oEmbeds and other shortcodes nested inside.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums