Toggle Content Block

説明

The Toggle Content Block lets you create two separate sections – “Left Content” and “Right Content” – and switch between them instantly.
Perfect for before/after comparisons, feature toggles, multi-step content, monthly-annual plans, or simply organizing content in an interactive way.

Features:
– Preloads both “Left Content” and “Right Content” blocks by default.
– Allows any type of inner blocks inside each section.
– Customizable labels for the toggle switch.
– Flexible styling and responsive design.

GitHub Repo

https://github.com/BhargavBhandari90/toggle-content-block

スクリーンショット

ブロック

このプラグインは3個のブロックを提供します。

  • Toggle Content A block with a customizable toggle switch and two content areas.
  • Left Content A block to add content to the left of the toggle switch.
  • Right Content A block to add content to the right of the toggle switch.

インストール

  1. Upload the plugin files to the /wp-content/plugins/toggle-content-block directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. Add/Edit a post or page and search “Toggle Content” while searching for a block.
  4. Customize the Left and Right sections with any blocks you want.

評価

2026年8月14日 1 reply
This is a handy block when you want to show difference between content like monthly/yearly price, after/before effect. I like that you can customize the toggle text and add regular blocks inside the content area. It’s straightforward and does what it’s supposed to do without making things complicated.
2件のレビューをすべて表示

貢献者と開発者

Toggle Content Block はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“Toggle Content Block” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

1.0.0

  • Initial Release