Title: Toggles
Author: George Mamadashvili
Published: <strong>2021 年 2 月 8 日</strong>
Last modified: 2024 年 7 月 16 日

---

搜尋外掛

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

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

# Toggles

 由 [George Mamadashvili](https://profiles.wordpress.org/mamaduka/) 開發

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

 * [詳細資料](https://tw.wordpress.org/plugins/toggles/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/toggles/#reviews)
 * [開發資訊](https://tw.wordpress.org/plugins/toggles/#developers)

 [技術支援](https://wordpress.org/support/plugin/toggles/)

## 外掛說明

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.

## 螢幕擷圖

[⌊The block with no styles.⌉⌊The block with no styles.⌉[

The block with no styles.

[⌊The block with custom styling.⌉⌊The block with custom styling.⌉[

The block with custom styling.

[⌊Block Editor.⌉⌊Block Editor.⌉[

Block Editor.

## 適用於區塊編輯器

這個外掛提供 1 個可供 Gutenberg/區塊編輯器使用的區塊。

 *     Toggles An easy way to hide and reveal content.

## 常見問題集

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

## 使用者評論

![](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/) 2025 年 1 月 23 日

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/) 2024 年 
6 月 2 日

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/) 2024 年 4 月 26 日

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/) 2023 年 8 月 11 
日

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/) 2023 年 3 月 4 日 1 則留言

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/) 2022 年 10 月 30 日 1 則留言

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

 [ 閱讀全部 7 則使用者評論 ](https://wordpress.org/support/plugin/toggles/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈Toggles〉的開發相關工作。

參與者

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

〈Toggles〉外掛目前已有 1 個本地化語言版本。 感謝[全部譯者](https://translate.wordpress.org/projects/wp-plugins/toggles/contributors)
為這個外掛做出的貢獻。

[將〈Toggles〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/toggles)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/toggles/)、查看
[SVN 存放庫](https://plugins.svn.wordpress.org/toggles/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/toggles/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/toggles/)。

## 變更記錄

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

## 中繼資料

 *  版本 **1.1.1**
 *  最後更新 **2 年前**
 *  啟用安裝數 **2,000+**
 *  WordPress 版本需求 ** 6.4 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.6.5**
 *  PHP 版本需求 ** 5.6 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/toggles/) 及 [Swedish](https://sv.wordpress.org/plugins/toggles/).
 *  [將這個外掛本地化為你的母語版本](https://translate.wordpress.org/projects/wp-plugins/toggles)
 * 標籤:
 * [Accordion](https://tw.wordpress.org/plugins/tags/accordion/)[block](https://tw.wordpress.org/plugins/tags/block/)
   [blocks](https://tw.wordpress.org/plugins/tags/blocks/)[details](https://tw.wordpress.org/plugins/tags/details/)
   [faq](https://tw.wordpress.org/plugins/tags/faq/)
 *  [進階檢視](https://tw.wordpress.org/plugins/toggles/advanced/)

## 評分

 5 星，滿分為 5 星

 *  [  7 個 5 星使用者評論     ](https://wordpress.org/support/plugin/toggles/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/toggles/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/toggles/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/toggles/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/toggles/reviews/?filter=1)

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

[查看全部使用者評論](https://wordpress.org/support/plugin/toggles/reviews/)

## 參與者

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

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/toggles/)