Toggle Content Block

Description

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

Screenshots

Blocks

This plugin provides 3 blocks.

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

Installation

  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.

Reviews

August 14, 2026 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.
Read all 2 reviews

Contributors & Developers

“Toggle Content Block” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Toggle Content Block” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Change log

1.0.0

  • Initial Release