Title: Simple Expand &#8211; Lightweight Read more toggle
Author: Jonas Hjalmarsson
Published: <strong>10 février 2022</strong>
Last modified: 3 mai 2026

---

Recherche d’extensions

![](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

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

[Télécharger](https://downloads.wordpress.org/plugin/simple-expand.1.3.zip)

 * [Détails](https://fr-ca.wordpress.org/plugins/simple-expand/#description)
 * [Avis](https://fr-ca.wordpress.org/plugins/simple-expand/#reviews)
 *  [Installation](https://fr-ca.wordpress.org/plugins/simple-expand/#installation)
 * [Développement](https://fr-ca.wordpress.org/plugins/simple-expand/#developers)

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

## Description

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.

## Captures d’écran

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

## Installation

 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.

## FAQ

### 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).

## Avis

Il n’y a aucun avis sur cette extension.

## Contributeurs & développeurs

« Simple Expand – Lightweight Read more toggle » est un logiciel libre. Les personnes
suivantes ont contribué à cette extension.

Contributeurs

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

“Simple Expand – Lightweight Read more toggle” a été traduit dans 5 locales. Remerciez
[l’équipe de traduction](https://translate.wordpress.org/projects/wp-plugins/simple-expand/contributors)
pour ses contributions.

[Traduisez « Simple Expand – Lightweight Read more toggle » dans votre langue.](https://translate.wordpress.org/projects/wp-plugins/simple-expand)

### Le développement vous intéresse ?

[Parcourir le code](https://plugins.trac.wordpress.org/browser/simple-expand/), 
consulter le [SVN dépôt](https://plugins.svn.wordpress.org/simple-expand/), ou s’inscrire
au [journal de développement](https://plugins.trac.wordpress.org/log/simple-expand/)
par [RSS](https://plugins.trac.wordpress.org/log/simple-expand/?limit=100&mode=stop_on_copy&format=rss).

## Historique des changements

#### 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.

## Méta

 *  Version **1.3**
 *  Last updated **il y a 4 semaines**
 *  Active installations **50+**
 *  WordPress version ** 5.0 ou plus **
 *  Tested up to **6.9.4**
 *  PHP version ** 7.4 ou plus **
 *  Languages
 * [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/), et [Spanish (Venezuela)](https://ve.wordpress.org/plugins/simple-expand/).
 *  [Traduire dans votre langue](https://translate.wordpress.org/projects/wp-plugins/simple-expand)
 * Tags
 * [details](https://fr-ca.wordpress.org/plugins/tags/details/)[expand](https://fr-ca.wordpress.org/plugins/tags/expand/)
   [readmore](https://fr-ca.wordpress.org/plugins/tags/readmore/)[shortcode](https://fr-ca.wordpress.org/plugins/tags/shortcode/)
   [toggle](https://fr-ca.wordpress.org/plugins/tags/toggle/)
 *  [Vue avancée](https://fr-ca.wordpress.org/plugins/simple-expand/advanced/)

## Notes

No reviews have been submitted yet.

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

[See all reviews](https://wordpress.org/support/plugin/simple-expand/reviews/)

## Contributeurs

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

## Support

Quelque chose à dire ? Besoin d’aide ?

 [Voir le forum de support](https://wordpress.org/support/plugin/simple-expand/)

## Faire un don

Souhaitez-vous soutenir l’avancement de cette extension ?

 [ Faire un don à cette extension ](https://jonashjalmarsson.se/help-me-out/)