Toggle Content Block

Beskrivning

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

Skärmdumpar

Block

Detta tillägg tillhandahåller 3 block.

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

Recensioner

14 augusti 2026 1 svar
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.
Läs alla 2 betyg

Bidragsgivare och utvecklare

”Toggle Content Block” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

Översätt ”Toggle Content Block” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

1.0.0

  • Initial Release