Title: Toggle Anything
Author: nickpagz
Published: <strong>1 oktober 2024</strong>
Last modified: 1 oktober 2024

---

Plugins zoeken

Deze plugin **is niet getest met de laatste 3 grotere versies van WordPress**. Mogelijk
wordt het niet meer onderhouden of ondersteund. Ook kunnen er compatibiliteitsproblemen
ontstaan wanneer het wordt gebruikt met recentere versies van WordPress.

![](https://ps.w.org/toggle-anything/assets/icon.svg?rev=3161130)

# Toggle Anything

 Door [nickpagz](https://profiles.wordpress.org/npagazani/)

[Download](https://downloads.wordpress.org/plugin/toggle-anything.1.0.0.zip)

 * [Details](https://nl.wordpress.org/plugins/toggle-anything/#description)
 * [Beoordelingen](https://nl.wordpress.org/plugins/toggle-anything/#reviews)
 *  [Installatie](https://nl.wordpress.org/plugins/toggle-anything/#installation)
 * [Ontwikkeling](https://nl.wordpress.org/plugins/toggle-anything/#developers)

 [Ondersteuning](https://wordpress.org/support/plugin/toggle-anything/)

## Beschrijving

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.

## Schermafbeeldingen

[⌊General block view and settings⌉⌊General block view and settings⌉[

General block view and settings

[⌊Basic toggle settings for classes and default state⌉⌊Basic toggle settings for
classes and default state⌉[

Basic toggle settings for classes and default state

[⌊Optional text settings⌉⌊Optional text settings⌉[

Optional text settings

[⌊Various styling options⌉⌊Various styling options⌉[

Various styling options

[⌊Setting the show/hide classes on other blocks⌉⌊Setting the show/hide classes on
other blocks⌉[

Setting the show/hide classes on other blocks

[⌊Pricing page example⌉⌊Pricing page example⌉[

Pricing page example

## Blokken

Deze plugin heeft 1 blok.

 *   Toggle Anything A customizable toggle switch to control visibility of any block.

## Installatie

Use the standard WordPress plugins installation page and install or upload the plugin.
After plugin activation the block “Toggle Anything” will be visible in the editor.

## FAQ

### Can I add multiple blocks to the same page?

Yes.

### Are the block styles customizable?

Yes.

### What about non-Javascript enabled browsers?

We’ve got you covered there too. The toggle will automatically be hidden, and the
default toggle class will be displayed.
 The block also includes other “no-JS” classes
you can use for hiding/showing content.

## Beoordelingen

Er zijn geen beoordelingen voor deze plugin.

## Bijdragers & ontwikkelaars

“Toggle Anything” is open source software. De volgende personen hebben bijgedragen
aan deze plugin.

Bijdragers

 *   [ nickpagz ](https://profiles.wordpress.org/npagazani/)

[Vertaal “Toggle Anything” in je eigen taal.](https://translate.wordpress.org/projects/wp-plugins/toggle-anything)

### Interesse in ontwikkeling?

[Bekijk de code](https://plugins.trac.wordpress.org/browser/toggle-anything/), haal
de [SVN repository](https://plugins.svn.wordpress.org/toggle-anything/) op, of abonneer
je op het [ontwikkellog](https://plugins.trac.wordpress.org/log/toggle-anything/)
via [RSS](https://plugins.trac.wordpress.org/log/toggle-anything/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.0

 * Add selector components for making classes easier to add
 * Use HTML Tag processor API for adding classes on rendered page
 * Reduce whitespace in inline css in the save markup
 * Conditionally add inline css selectors

#### 0.2.1

 * Tweak no-js functionality

#### 0.2.0

 * Option for display type (block, flex, etc)
 * Default switch position on page load
 * No JavaScript page load fallback

#### 0.1.0

 * Release

## Meta

 *  Versie **1.0.0**
 *  Laatst geüpdatet **2 jaar geleden**
 *  Actieve installaties **20+**
 *  WordPress versie ** 6.5 of nieuwer **
 *  Getest t/m **6.6.5**
 *  PHP versie ** 7.4 of nieuwer **
 *  Taal
 * [English (US)](https://wordpress.org/plugins/toggle-anything/)
 * Tags
 * [block](https://nl.wordpress.org/plugins/tags/block/)[hide](https://nl.wordpress.org/plugins/tags/hide/)
   [switch](https://nl.wordpress.org/plugins/tags/switch/)[toggle](https://nl.wordpress.org/plugins/tags/toggle/)
 *  [Geavanceerde weergave](https://nl.wordpress.org/plugins/toggle-anything/advanced/)

## Waarderingen

Er zijn nog geen beoordelingen ingediend.

[Your review](https://wordpress.org/support/plugin/toggle-anything/reviews/#new-post)

[Bekijk alle beoordelingen](https://wordpress.org/support/plugin/toggle-anything/reviews/)

## Bijdragers

 *   [ nickpagz ](https://profiles.wordpress.org/npagazani/)

## Ondersteuning

Iets te melden? Hulp nodig?

 [Het supportforum bekijken](https://wordpress.org/support/plugin/toggle-anything/)