Title: Toggles
Author: George Mamadashvili
Published: <strong>8 de febrer de 2021</strong>
Last modified: 16 de juliol de 2024

---

Cerca extensions

Aquesta extensió **no s’ha provat en les darreres 3 versions majors del WordPress**.
Segurament no està mantinguda o suportada, i pot tenir problemes de compatibilitat
quan s’usa en versions recents del WordPress.

![](https://ps.w.org/toggles/assets/icon.svg?rev=2927357)

# Toggles

 Per [George Mamadashvili](https://profiles.wordpress.org/mamaduka/)

[Baixa](https://downloads.wordpress.org/plugin/toggles.1.1.1.zip)

 * [Detalls](https://ca.wordpress.org/plugins/toggles/#description)
 * [Ressenyes](https://ca.wordpress.org/plugins/toggles/#reviews)
 * [Desenvolupament](https://ca.wordpress.org/plugins/toggles/#developers)

 [Suport](https://wordpress.org/support/plugin/toggles/)

## Descripció

You can use this block to hide and reveal content as needed. Create FAQ pages, hide
spoilers in posts, or create simple accordion elements.

The block uses `<details>` and `<summary>` HTML elements and doesn’t require any
additional JavaScript or CSS on the theme side.

## Captures

 * [[
 * The block with no styles.
 * [[
 * The block with custom styling.
 * [[
 * Block Editor.

## Blocs

Aquesta extensió proporciona 1 bloc.

 *     Toggles An easy way to hide and reveal content.

## PMF

### Want to change default styles?

You can add some basic styling with just a few lines of CSS. Example:

    ```
    .wp-block-toggles {
        background: #fafafa;
        border: 1px solid #eaeaea;
        border-radius: 3px;
        margin: 1.5rem 0;
        padding: 0.5rem 1rem;
    }

    .wp-block-toggles summary {
        cursor: pointer;
    }
    ```

### Want to report a bug?

Create an issue at the [Mamaduka/toggles](https://github.com/Mamaduka/toggles) repo.

## Ressenyes

![](https://secure.gravatar.com/avatar/614e748ad1c9a86eb6e147daae4682c65c5519fa61d87e3a9911257f139ea2a0?
s=60&d=retro&r=g)

### 󠀁[Perfect](https://wordpress.org/support/topic/perfect-10645/)󠁿

 [pegelzwo](https://profiles.wordpress.org/pegelzwo/) 23 de gener de 2025

The plugin is perfect. However, I would still like to be able to make a few design
changes within the shortcode. But that’s complaining on a high level! And it works
great with version 6.7.1!

![](https://secure.gravatar.com/avatar/1eefc26e48ce61220530a5e023647072346869be85acf3fb59907cddb8fe023c?
s=60&d=retro&r=g)

### 󠀁[Small, easily customizable, reliable – beautiful!](https://wordpress.org/support/topic/small-easily-customizable-reliable-beautiful/)󠁿

 [Schroedingers Cat](https://profiles.wordpress.org/schroedingers-cat/) 2 de juny
de 2024

Thank you for this handy little plug-in. Works like a charm!

![](https://secure.gravatar.com/avatar/30efc797ecc85791332433a8913f24b053d3b16811ac57f6081d56e641e670f1?
s=60&d=retro&r=g)

### 󠀁[It can be even better](https://wordpress.org/support/topic/it-can-be-even-better-2/)󠁿

 [Vladimir Bender](https://profiles.wordpress.org/vovastik/) 26 de abril de 2024

A wonderful, much needed block.It can be even better if you use the toggle-off /
toggle-on icon, because everyone is used to such a switch on smartphones.And make
the title styled like a link, for example blue and underlined (so that users understand
that the title is clickable).

![](https://secure.gravatar.com/avatar/88ed074d50cf849378fd0373c8ef683a367399dc65205e58f93b6c802155af52?
s=60&d=retro&r=g)

### 󠀁[Really awesome!](https://wordpress.org/support/topic/really-awesome-98/)󠁿

 [chris4element](https://profiles.wordpress.org/chris4element/) 11 de agost de 2023

A simple, clean solution for Toggles everything! It increases creativity in content
design by 377%! No, really, simple does not mean boring! A basic tool to rethink
design without installing bloated graphics plugins.I feel lucky I found it. Many
thanks!

![](https://secure.gravatar.com/avatar/fb1c760ce8d40ebdf6ac9cd8ff18af4823d2818570b3faf93fb16a4683a7acca?
s=60&d=retro&r=g)

### 󠀁[So easy and effective](https://wordpress.org/support/topic/so-easy-and-effective-7/)󠁿

 [alexedgar](https://profiles.wordpress.org/alexedgar/) 4 de març de 2023 1 resposta

You know how you spend 3 days installing and uninstalling plugin after plugin trying
to do the simplest task? Changing themes, chasing promises, getting befuddled, exhausted,
frustrated and disappointed. Well that is my story with toggles until I found this
gem. Looks great, works great, saves time and effort. Reliable and covers all the
essential bases. Love it! 10 stars! Thank you!!!

![](https://secure.gravatar.com/avatar/fcc45b8336bcf44c3747faee1e70be16293c7aa5827bba749a9ff3fe9d9b7e69?
s=60&d=retro&r=g)

### 󠀁[Fast and simple](https://wordpress.org/support/topic/fast-and-simple-58/)󠁿

 [sanuk](https://profiles.wordpress.org/sanuk/) 30 de octubre de 2022 1 resposta

Awesome plugin. I use it to add simple, minimalistic toggles that show/hide additional
info on my site. Thank you!

 [ Llegiu totes les 7 ressenyes ](https://wordpress.org/support/plugin/toggles/reviews/)

## Col·laboradors i desenvolupadors

«Toggles» és programari de codi obert. La següent gent ha col·laborat en aquesta
extensió.

Col·laboradors

 *   [ George Mamadashvili ](https://profiles.wordpress.org/mamaduka/)

“Toggles” s’ha traduït a 1 configuració regional. Gràcies als [traductors](https://translate.wordpress.org/projects/wp-plugins/toggles/contributors)
per les seves aportacions.

[Traduïu «Toggles» a la vostra llengua.](https://translate.wordpress.org/projects/wp-plugins/toggles)

### Interessats en el desenvolupament?

[Navegueu pel codi](https://plugins.trac.wordpress.org/browser/toggles/), baixeu-
vos el [repositori SVN](https://plugins.svn.wordpress.org/toggles/), o subscriviu-
vos al [registre de desenvolupament](https://plugins.trac.wordpress.org/log/toggles/)
per [fisl de subscripció RSS](https://plugins.trac.wordpress.org/log/toggles/?limit=100&mode=stop_on_copy&format=rss).

## Registre de canvis

#### 1.1.1 – 2024-07-16

 * Bumped minimum required WordPress version to 6.4.

#### 1.1.0 – 2023-06-17

 * Bumped minimum required WordPress version to 6.1.
 * Fixes an error when selecting deeply nested inner blocks.
 * Block support enhancements.

#### 1.0.1 – 2022-02-14

 * Bumped minimum required WordPress version to 5.8.
 * Pass component to `renderAppender`.

#### 1.0.0 – 2021-02-05

 * Initial release.

## Meta

 *  Versió **1.1.1**
 *  Darrera actualització **fa 2 anys**
 *  Instal·lacions actives **2.000+**
 *  Versió del WordPress ** 6.4 o posterior **
 *  Provada fins a **6.6.5**
 *  Versió del PHP ** 5.6 o posterior **
 *  Idiomes
 * [English (US)](https://wordpress.org/plugins/toggles/) i [Swedish](https://sv.wordpress.org/plugins/toggles/).
 *  [Traduïu a la vostra llengua](https://translate.wordpress.org/projects/wp-plugins/toggles)
 * Etiquetes
 * [Accordion](https://ca.wordpress.org/plugins/tags/accordion/)[block](https://ca.wordpress.org/plugins/tags/block/)
   [blocks](https://ca.wordpress.org/plugins/tags/blocks/)[details](https://ca.wordpress.org/plugins/tags/details/)
   [faq](https://ca.wordpress.org/plugins/tags/faq/)
 *  [Vista avançada](https://ca.wordpress.org/plugins/toggles/advanced/)

## Valoracions

 5 sobre 5 estrelles.

 *  [  7 valoracions de 5 estrelles     ](https://wordpress.org/support/plugin/toggles/reviews/?filter=5)
 *  [  0 valoracions de 4 estrelles     ](https://wordpress.org/support/plugin/toggles/reviews/?filter=4)
 *  [  0 valoracions de 3 estrelles     ](https://wordpress.org/support/plugin/toggles/reviews/?filter=3)
 *  [  0 valoracions de 2 estrelles     ](https://wordpress.org/support/plugin/toggles/reviews/?filter=2)
 *  [  0 valoracions de 1 estrelles     ](https://wordpress.org/support/plugin/toggles/reviews/?filter=1)

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

[Visualitzeu totes les ressenyes](https://wordpress.org/support/plugin/toggles/reviews/)

## Col·laboradors

 *   [ George Mamadashvili ](https://profiles.wordpress.org/mamaduka/)

## Suport

Teniu quelcom a dir? Necessiteu ajuda?

 [Visualitza els fòrums de suport](https://wordpress.org/support/plugin/toggles/)