Title: Simple Expand &#8211; Lightweight Read more toggle
Author: Jonas Hjalmarsson
Published: <strong>10 de Febreiro, 2022</strong>
Last modified: 3 de Maio, 2026

---

Buscar plugins

![](https://ps.w.org/simple-expand/assets/banner-772x250.png?rev=3521773)

![](https://ps.w.org/simple-expand/assets/icon-256x256.png?rev=3521773)

# Simple Expand – Lightweight Read more toggle

 Por [Jonas Hjalmarsson](https://profiles.wordpress.org/jonashjalmarsson/)

[Descargar](https://downloads.wordpress.org/plugin/simple-expand.1.3.zip)

 * [Detalles](https://gl.wordpress.org/plugins/simple-expand/#description)
 * [Valoracións](https://gl.wordpress.org/plugins/simple-expand/#reviews)
 *  [Instalación](https://gl.wordpress.org/plugins/simple-expand/#installation)
 * [Desenvolvemento](https://gl.wordpress.org/plugins/simple-expand/#developers)

 [Soporte](https://wordpress.org/support/plugin/simple-expand/)

## Descrición

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.

## Capturas

[⌊Closed Simple Expand.⌉⌊Closed Simple Expand.⌉[

Closed Simple Expand.

[⌊Open Simple Expand with HTML inside.⌉⌊Open Simple Expand with HTML inside.⌉[

Open Simple Expand with HTML inside.

## Instalación

 1. Upload `/simple-expand/` to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the Plugins menu in WordPress.
 3. Place `[expand]` shortcodes in your posts or pages.

## Preguntas frecuentes

### Does this work in the block editor?

Yes. The shortcode renders inside any paragraph or shortcode block.

### Can I style it myself?

Yes. Add your own CSS targeting `details.jhse-expand` (or pass `class="my-class"`
to the shortcode and target that).

## Comentarios

Non hai recensións para este plugin.

## Colaboradores e desenvolvedores

“Simple Expand – Lightweight Read more toggle” é un software de código aberto. As
seguintes persoas colaboraron con este plugin.

Colaboradores

 *   [ Jonas Hjalmarsson ](https://profiles.wordpress.org/jonashjalmarsson/)

“Simple Expand – Lightweight Read more toggle” foi traducido a 5 idiomas. Grazas
[aos desenvolvedores](https://translate.wordpress.org/projects/wp-plugins/simple-expand/contributors)
polas súas contribucións.

[Traduce “Simple Expand – Lightweight Read more toggle” ao teu idioma.](https://translate.wordpress.org/projects/wp-plugins/simple-expand)

### Interesado no desenvolvemento?

[Revisa o código](https://plugins.trac.wordpress.org/browser/simple-expand/), bota
unha ollada ao[repositorio SVN](https://plugins.svn.wordpress.org/simple-expand/),
ou subscríbete ao [log de desenvolvemento](https://plugins.trac.wordpress.org/log/simple-expand/)
por [RSS](https://plugins.trac.wordpress.org/log/simple-expand/?limit=100&mode=stop_on_copy&format=rss).

## Rexistro de cambios

#### 1.3

 * Added `License` header to plugin file (wp.org Plugin Check requirement).
 * Added direct file access protection (`ABSPATH` check).
 * Added explicit version to `wp_register_style()` call.
 * Tested up to WordPress 6.9.

#### 1.2

 * **Breaking:** CSS class changed from `.expand` to `.jhse-expand`. If you have
   custom CSS targeting `.expand`, update it to `.jhse-expand`.
 * Custom CSS class support via `[expand class="my-class"]`.
 * Use `wp_add_inline_style` instead of inline style tag.
 * Removed duplicate iframe attributes.
 * Fixed Plugin URI.
 * Tested up to WordPress 6.7.
 * Updated minimum PHP requirement to 7.4.

#### 1.1

 * Added support for YouTube and other iframe embeds inside expand tag (also WP 
   built in embeds).

#### 1.0.1

 * Added support for shortcode in expand tag.

#### 1.0

 * Initial release.

## Meta

 *  Versión **1.3**
 *  Última actualización **Fai 3 meses**
 *  Instalacións activas **50+**
 *  Versión de WordPress ** 5.0 ou superior **
 *  Probado ata **6.9.7**
 *  Versión de PHP ** 7.4 ou superior **
 *  Idiomas
 * [English (US)](https://wordpress.org/plugins/simple-expand/), [Spanish (Chile)](https://cl.wordpress.org/plugins/simple-expand/),
   [Spanish (Colombia)](https://es-co.wordpress.org/plugins/simple-expand/), [Spanish (Ecuador)](https://es-ec.wordpress.org/plugins/simple-expand/),
   [Spanish (Spain)](https://es.wordpress.org/plugins/simple-expand/), e [Spanish (Venezuela)](https://ve.wordpress.org/plugins/simple-expand/).
 *  [Traduce ao teu idioma](https://translate.wordpress.org/projects/wp-plugins/simple-expand)
 * Etiquetas
 * [details](https://gl.wordpress.org/plugins/tags/details/)[expand](https://gl.wordpress.org/plugins/tags/expand/)
   [readmore](https://gl.wordpress.org/plugins/tags/readmore/)[shortcode](https://gl.wordpress.org/plugins/tags/shortcode/)
   [toggle](https://gl.wordpress.org/plugins/tags/toggle/)
 *  [Vista avanzada](https://gl.wordpress.org/plugins/simple-expand/advanced/)

## Valoracións

Aínda non se enviaron valoracións.

[A túa valoración](https://wordpress.org/support/plugin/simple-expand/reviews/#new-post)

[Ver todas as valoracións](https://wordpress.org/support/plugin/simple-expand/reviews/)

## Colaboradores

 *   [ Jonas Hjalmarsson ](https://profiles.wordpress.org/jonashjalmarsson/)

## Soporte

Tes algo que dicir? Necesitas axuda?

 [Ver o foro de soporte](https://wordpress.org/support/plugin/simple-expand/)

## Doar

Queres apoiar o progreso deste plugin?

 [ Dona a este plugin ](https://jonashjalmarsson.se/help-me-out/)