Plugin info

Total downloads: 774
Active installs: 20
Total reviews: 0
Average rating: 0
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 2
Last updated: 10/1/2024 (456 days ago)
Added to WordPress: 10/1/2024 (1 years old)
Minimum WordPress version: 6.5
Tested up to WordPress version: 6.6.4
Minimum PHP version: 7.4

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 456 days ago

26/100

Is Toggle Anything abandoned?

Possibly abandoned (last update 456 days ago).

Compatibility

Requires WordPress: 6.5
Tested up to: 6.6.4
Requires PHP: 7.4

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

Switch Pages
Rating 5.0/5 (1 reviews)Active installs 40
Toggle Content Block
Rating 0.0/5 (0 reviews)Active installs 0
Manage Notification E-mails
Rating 4.8/5 (54 reviews)Active installs 100,000
View Admin As
Rating 4.9/5 (48 reviews)Active installs 9,000
Theme Switcha – Easily Switch Themes for Development and Testing
Rating 4.4/5 (61 reviews)Active installs 7,000
Sticky Posts – Switch
Rating 4.4/5 (18 reviews)Active installs 6,000

Description

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.

Installation

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.

Frequently Asked Questions

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.

Review feed

No reviews available

Screenshots

  1. General block view and settings

    General block view and settings

  2. Basic toggle settings for classes and default state

    Basic toggle settings for classes and default state

  3. Optional text settings

    Optional text settings

  4. Various styling options

    Various styling options

  5. Setting the show/hide classes on other blocks

    Setting the show/hide classes on other blocks

  6. Pricing page example

    Pricing page example

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