4WP Style Switcher WordPress Plugin | Codefreex Skip to content
4WP Style Switcher icon

WordPress plugin

4WP Style Switcher

Apply theme.json style variations per page or let visitors switch styles on the frontend (FSE block themes).

By 4WP.dev
Version
1.0.1
Last updated
Jun 14, 2026
Tested up to
WordPress 7.0.9
Requires
WP 6.4 · PHP 7.4

Health check

Is 4WP Style Switcher safe to rely on?

Our reading of the public WordPress.org data: maintenance, compatibility, ratings and support.

Actively maintained

Last updated on June 14, 2026. Regular updates usually mean bugs and security reports get fixed.

Not yet tested with the latest WordPress

Tested up to WordPress 7.0.9. It often still works, but check on staging first.

Requires PHP 7.4 or newer

Check your hosting PHP version before installing. Modern PHP is faster and receives security fixes.

Rank tracker

Where 4WP Style Switcher ranks in WordPress.org search

Its position in WordPress.org plugin search for its tags and name, refreshed weekly so you can see how its visibility changes.

WordPress.org search positions for 4WP Style Switcher
KeywordPositionChangeTrendCurrent #1
block-theme
dark mode
full-site-editing
style variations
theme json
4wp style switcher

Checked against the top 100 WordPress.org search results.

Overview

What 4WP Style Switcher does

Demo

4WP Style Switcher reads style variations from the active block theme (theme.json and /styles/*.json).

A plugin by 4wp.dev. 4WP is our project brand; the letters “WP” appear only as part of that brand name, not as a reference to WordPress. This plugin is not affiliated with, endorsed, or sponsored by WordPress.

Source code and releases: github.com/4wpdev/4wp-style-switcher

Human-readable PHP source is in the public GitHub repository above. The plugin ZIP includes src/ (PSR-4 autoload via src/Autoload.php when vendor/ is absent). No npm build step — front-end scripts ship as plain JS in assets/.

Live demo (WordPress Playground): https://playground.wordpress.net/?blueprint-url=https://raw.githubusercontent.com/4wpdev/4wp-style-switcher/v1.0.0/.wordpress-org/assets/blueprints/blueprint.json

The demo site Style Switcher uses Twenty Twenty-Five: About, Morning, Afternoon, and Evening pages with per-page styles, A/B light vs dark, a bottom-right visitor switcher, and Light/Dark in the header and footer menus.

Description from the author's listing. Read the full listing on WordPress.org

Screenshots

4WP Style Switcher in action

Settings — General tab (default variation, visitor switcher, Light/Dark mapping).
Settings — General tab (default variation, visitor switcher, Light/Dark mapping).
Settings — Variations tab (allowed style variations).
Settings — Variations tab (allowed style variations).
Frontend — floating style switcher and menu Light/Dark toggle on Twenty Twenty-Five.
Frontend — floating style switcher and menu Light/Dark toggle on Twenty Twenty-Five.

FAQ

4WP Style Switcher: questions and answers

What is 4WP Style Switcher?

4WP Style Switcher is a WordPress plugin by 4WP.dev. Apply theme.json style variations per page or let visitors switch styles on the frontend (FSE block themes).

Is 4WP Style Switcher free?

4WP Style Switcher is listed in the WordPress.org plugin directory, so the version there is free to download and use. Some authors also sell paid add-ons or a premium edition with more features and support.

Is 4WP Style Switcher still maintained?

4WP Style Switcher was last updated on June 14, 2026. The current version is 1.0.1. Check the changelog on WordPress.org and test updates on a staging site before applying them to a live site.

What does 4WP Style Switcher require?

4WP Style Switcher requires WordPress 6.4 or newer and PHP 7.4 or newer. It has been tested up to WordPress 7.0.9.

Can Codefreex set up or customize 4WP Style Switcher?

Yes. Codefreex installs, configures and customizes WordPress plugins including 4WP Style Switcher, fixes conflicts and performance problems, and builds custom features when a plugin does not do exactly what you need. Send your site URL for a free review.

Free expert review

Need 4WP Style Switcher set up, customized or fixed?

Tell us about your site and what you need this plugin to do. A senior WordPress developer replies within one business day with a plan and a quote.

Built this plugin yourself? We help WordPress product teams with development, support load and growth. Talk to us