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

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.

屏幕截图

区块

该插件提供了 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」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「Hide Or Toggle」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0.0

  • Release