Title: Hide Or Toggle
Author: capbussat
Published: <strong>2023 年 2 月 14 日</strong>
Last modified: 2023 年 2 月 14 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/hide-or-toggle/assets/icon-256x256.png?rev=2865111)

# Hide Or Toggle

 作者：[capbussat](https://profiles.wordpress.org/capbussat/)

[下载](https://downloads.wordpress.org/plugin/hide-or-toggle.zip)

 * [详情](https://cn.wordpress.org/plugins/hide-or-toggle/#description)
 * [评价](https://cn.wordpress.org/plugins/hide-or-toggle/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/hide-or-toggle/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/hide-or-toggle/#developers)

 [支持](https://wordpress.org/support/plugin/hide-or-toggle/)

## 描述

Currently there are two blocks.

#### Simple Hide block

Simple Hide block is a simple, easy and useful block that places a title and an 
open icon.
 The following paragraph or content is hidden until the user clicks the
open icon. It uses an open icon (+) to show the paragraph content following the 
title. A close icon appears (-). Then, you can use a close icon to hide the paragraph
content following the title.

#### Simple Toggle block

Simple Toggle is the same block without icons.
 Just click on the first paragraph
to toggle the second paragraph.

## 屏幕截图

[⌊You can use this block to hide or show text content.⌉⌊You can use this block to
hide or show text content.⌉[

You can use this block to hide or show text content.

[⌊Stacking some of this blocks in a page you can build a FAQ page.⌉⌊Stacking some
of this blocks in a page you can build a FAQ page.⌉[

Stacking some of this blocks in a page you can build a FAQ page.

[⌊Stacking some of this blocks in a page you can build a questions and answers page.⌉⌊
Stacking some of this blocks in a page you can build a questions and answers page
.⌉[

Stacking some of this blocks in a page you can build a questions and answers page.

[[

[[

## 区块

该插件提供了 3 个区块.

 *   Simple with Blocks Simple Blocks is based in Itm Simple Hide.
 *   Simple Hide Simple Hide is based in Itm Simple Hide.
 *   Simple Toggle Simple Toggle is based in Itm Simple Hide.

## 安装

 1. Upload the plugin files to the `/wp-content/plugins/itm-simple-block` directory,
    or install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress

## 常见问题

### Can I use it as a list of questions and answers?

Yes. Just insert the block again or just duplicate it. Each block looks as an item.
It’s not really an Html list but a succession of blocks in the same page.

### How can I style the title and content?

Currently has Default, Compact and Expanded style with some background changes and
different padding and margin.

### Can I change text or background color?

Yes, you can pick a different color for text or background for each block.
 Or leave
as it is, with defaults to theme colors.

### What if I need more styling ?

We may add some settings to change padding and margin values or to choose a different
opening and closing icons.
 We do not have a dealine yet and we want to keep it 
simple!.

### What resources uses?

In addition to block editors and wp components uses the wp dashicons library and
a very small jQuery javascript file.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Hide Or Toggle」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ capbussat ](https://profiles.wordpress.org/capbussat/)

[帮助将「Hide Or Toggle」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/hide-or-toggle)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/hide-or-toggle/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/hide-or-toggle/)，或通过[RSS](https://plugins.trac.wordpress.org/log/hide-or-toggle/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/hide-or-toggle/)。

## 更新日志

#### 1.0.0

 * Release

## 额外信息

 *  版本 **0.1.0**
 *  最后更新：**3 年前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 6.1 或更高版本 **
 *  已测试的最高版本为 **6.1.10**
 *  PHP 版本 ** 7.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/hide-or-toggle/)
 * 标签
 * [block](https://cn.wordpress.org/plugins/tags/block/)
 *  [高级视图](https://cn.wordpress.org/plugins/hide-or-toggle/advanced/)

## 评级

尚未提交反馈。

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

[查看全部评论](https://wordpress.org/support/plugin/hide-or-toggle/reviews/)

## 贡献者

 *   [ capbussat ](https://profiles.wordpress.org/capbussat/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/hide-or-toggle/)