plugin-icon

Toggle Anything

Door nickpagz·
A customizable toggle switch used to control visibility of other blocks on the page.
Versie
1.0.0
Actieve installaties
20
Laatst bijgewerkt
Oct 1, 2024

The Toggle Anything block allows you to control visibility of other blocks on the page via user interaction. A common example is a pricing page where a user can toggle between monthly vs yearly subscription pricing. With this plugin allows you to design your own pricing tables using core blocks, then control the which items are visible or hidden when the switch is toggled.

Features

  • Toggle visibility of any element on the page. Does not need to be a nested block.
  • Set a default toggle state.
  • Choose your own “On” and “Off” state class names.
  • Non-Javascript friendly. Default state content displays, toggle is hidden.
  • Additional classes to show or hide other related components on non-Javascript browsers.
  • Multiple toggles allowed on the same page.
  • Multiple design configurations for each toggle.
  • Option for adding text in on/off positions.
  • Easy Custom CSS additions for each toggle/switch component.
Gratisop Business abonnement
Door te installeren, ga je akkoord met de Servicevoorwaarden van WordPress.com en de voorwaarden voor plugins van derden.
Getest tot
WordPress 6.6.4
Deze plugin kan worden gedownload, zodat je hem op je kan gebruiken.