Toggle Content Block

Kuvaus

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

Kuvankaappaukset

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.

Asennus

  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.

Arvostelut

14.8.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.
Lue kaikki 2 arvostelua.

Avustajat & Kehittäjät

“Toggle Content Block” perustuu avoimeen lähdekoodiin. Seuraavat henkilöt ovat osallistuneet tämän lisäosan kehittämiseen.

Avustajat

Käännä “Toggle Content Block” omalle kielellesi.

Oletko kiinnostunut kehitystyöstä?

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

Muutosloki

1.0.0

  • Initial Release