BLACK FRIDAY
Save 59% on PageForge Annual $191/year $485/year
Claim 59% Off →
4WP Style Switcher icon
Maintained Tested up to 7.0.7 #13 in block-theme

4WP Style Switcher

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

Active installs<10New
Downloads · 30d62▲ +5.1% vs prev. 30d
Rating—0 reviews
Health score49/100Fair
All-time downloads383Since Jun 2026
Support resolved—No recent threads
RequiresWP 6.4PHP 7.4+
Downloads · 7d15▲ +7.1% week over week
Our verdict

Use with caution

4WP Style Switcher works, but test it on a staging site before relying on it in 2026. Was last updated 4 months ago, and scores 49/100 on our health check.

  • Small user base (<10 active installs)
  • Very few reviews so far

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

123Jul 18Aug 31Oct 15
Yesterday1
Daily average (1y)3
Peak day36Jun 14, 2026
Last 12 months391

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where 4WP Style Switcher stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
block-theme >100 9,802 Best block-theme plugins →
dark mode >100 1,763 Best dark mode plugins →
full-site-editing >100 3,497 Best full-site-editing plugins →
style variations >100 1,620 Best style variations plugins →
theme.json #45 133 Best theme.json plugins →

About 4WP Style Switcher

From the official readme · v1.0.1

Description

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

Development

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.

Page style (editor) — pick a variation for a page; optionally lock it so visitors cannot override it.

Frontend switcher — visitors choose from allowed variations; the choice is stored in localStorage and synced to a cookie for server-side rendering.

Light / Dark (navigation block) — add the Light/Dark block inside Navigation; map two variations (sun/moon icons).

A/B testing — split new visitors between two variations; daily aggregate stats monitor the traffic split.

Privacy

When the visitor switcher or A/B testing is enabled, the plugin may store the selected style variation in a browser cookie (forwp_ss_style) and in localStorage on the visitor device. No personal data is sent to third-party services. A/B stats are aggregated counts stored in your WordPress database.

Blocks

This plugin provides 1 block.

  • Light / Dark — menu toggle between two mapped theme style variations (sun/moon icons).Hooks (developers)

  • forwp_style_switcher_variations — filter theme variation list.

  • forwp_style_switcher_ab_assigned — after A/B cohort assignment.
  • forwp_style_switcher_analytics_track — analytics events.
  • forwp_style_switcher_ab_assignment_enabled — filter A/B assignment.

Installation

  1. Upload and activate the plugin.
  2. Go to Settings → 4WP Style Switcher.
  3. On Variations, check which style variations visitors may use.
  4. Under General, set the default variation and optional Light/Dark mapping.
  5. Edit a page → Page style panel to assign or lock a variation.
  6. In the site editor, insert Light / Dark inside the Navigation block.

Frequently asked questions

Which themes are supported?

Block themes (FSE) that ship style variations under the theme’s /styles/ directory.

Where is the Playground demo configured?

In the GitHub repository: playground/setup.php and .wordpress-org/assets/blueprints/blueprint.json.

Does the floating switcher list every theme variation?

It lists variations allowed on the Variations settings tab. The menu Light/Dark block uses only the two variations mapped under General.

Changelog

Review T1: Plugin URI points to 4wp.dev; removed Playground URL constant from plugin PHP (demo link remains in readme only).

1.0.1

  • Plugin URI: https://4wp.dev/ (GitHub link stays in readme Development section).
  • Removed FORWP_STYLE_SWITCHER_PLAYGROUND_URL from plugin PHP; no remote URLs in runtime code.

1.0.0

  • First WordPress.org release (1.0.0).
  • Plugin Check: inline script moved to enqueued assets; security and naming fixes.
  • readme.txt: 4WP trademark disclaimer, Development, Blocks, Privacy sections.
  • Playground blueprint and demo links updated for v1.0.0.

0.2.5

  • Request-level caching in Style_Registry, Style_Resolver, and Style_Applicator (faster page loads).
  • GitHub README banner; Playground blueprint and demo links updated for v0.2.5.

0.2.4

  • Playground demo pages use theme.json variation titles (single H1 from template, slug in content).
  • Morning / Afternoon / Evening / Night pages with matching per-page styles; Afternoon locked.
  • Light/Dark menu toggle disabled when page style switching is locked.

0.2.3

  • Per-page style meta, A/B light vs dark, visitor switcher bottom-right, two locked demo pages.
  • Shared navigation in header and footer template parts.
  • Fix Documentation tab accordion spacing in admin.

0.2.2

  • Apply visitor style from the query param on the same request (no redirect; works in Playground iframe).
  • Clean the style query param from the URL after the page loads.

Full changelog on WordPress.org →

Screenshots

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.
4WP Style Switcher screenshot
4WP Style Switcher screenshot
4WP Style Switcher screenshot
4WP Style Switcher screenshot
4WP Style Switcher screenshot

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.

Active installs badge Rating badge Health score badge

Best 4WP Style Switcher alternatives

All block-theme plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 Create Block Theme Create Block Theme A WordPress plugin to create block themes. by WordPress.org 20K+ ★★★★★★★★★★ 4.8 (37) 2 weeks ago 66
2 Dynamic Header & Navigation for Block Themes Dynamic Header & Navigation for Block Themes Animated shrinking header, responsive shrinking logo, custom breakpoints and off-canvas… by Hans-Gerd Gerhards 200+ ★★★★★★★★★★ 5 (3) 2 months ago 72
3 Enable bbPress for Block Themes Enable bbPress for Block Themes Enables bbPress for a full site editing WordPress block theme. by WebMan Design | Oliver Juhas 100+ ★★★★★★★★★★ 5 (5) 4 weeks ago 80
4 Catch Import Export Catch Import Export Catch Import Export is a simple and easy-to-use plugin to export and import WordPress… by Catch Themes 30+ ★★★★★★★★★★ No reviews 4 months ago 52
5 LolaCore for FSE LolaCore for FSE Edit your block theme by talking to Lola: templates, parts, patterns, navigation, global… by Fran Barbero 10+ ★★★★★★★★★★ No reviews 2 months ago 62
6 Jamie’s Header Effects Jamie’s Header Effects Sticky header effects for block themes: a Chameleon header that recolours to match each… by jamiemarsland 10+ ★★★★★★★★★★ No reviews 1 week ago 66
7 Planned Outage for Block Themes Planned Outage for Block Themes Simple maintenance mode for block themes. Shows a maintenance template to logged-out… by Troy Chaplin 10+ ★★★★★★★★★★ 5 (2) 3 months ago 58
8 Auto Update Page Links Auto Update Page Links Automatically updates links in Gutenberg blocks, templates, menus, and content when you… by Mohammad Irfan 10+ ★★★★★★★★★★ 5 (1) 12 months ago 45
9 Theme Designer Theme Designer Create and manage block themes with an intuitive interface. No coding required - design… by Helmut Wandl 10+ ★★★★★★★★★★ No reviews 11 months ago 38
10 Additional CSS Shortcut Additional CSS Shortcut Adds a quick-access link to the Additional CSS panel in the Site Editor for block themes. by lastsplash (a11n) 10+ ★★★★★★★★★★ No reviews 2 months ago 62

FAQ

4WP Style Switcher: quick answers

Straight answers, pulled from live WordPress.org data.

Live data from WordPress.org · checked Oct 16, 2026

Is 4WP Style Switcher free?

Yes. 4WP Style Switcher is free to download and use from the official WordPress.org plugin directory.

Is 4WP Style Switcher safe to use in 2026?

4WP Style Switcher works, but test it on a staging site before relying on it in 2026. Was last updated 4 months ago, and scores 49/100 on our health check.

How many websites use 4WP Style Switcher?

4WP Style Switcher is active on <10 WordPress websites and has been downloaded 383 times since it launched in June 2026. It was downloaded 62 times in the last 30 days.

Does 4WP Style Switcher work with WordPress 7.1?

4WP Style Switcher is officially tested up to WordPress 7.0.7, while the latest release is 7.1.3. It may still work, but try it on a staging site first.

What PHP version does 4WP Style Switcher need?

4WP Style Switcher requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was 4WP Style Switcher last updated?

The latest version, 1.0.1, was released on June 14, 2026 (4 months ago).

Who makes 4WP Style Switcher?

4WP Style Switcher is developed and maintained by 4WP.dev.

What are the best alternatives to 4WP Style Switcher?

The most popular alternatives to 4WP Style Switcher are Create Block Theme (20K+ installs), Dynamic Header & Navigation… (200+ installs) and Enable bbPress for Block Th… (100+ installs).

Powered by PageForge

Want thousands of pages that rank like these? Build them in an afternoon.

This directory runs on the same engine as PageForge. Turn any spreadsheet, CSV or API into thousands of fast, SEO-ready WordPress pages — with schema, internal links and AI-written copy baked in.

  • CSV, Google Sheets & API data sources
  • AI content, schema & internal links per page
  • Works with Elementor, Gutenberg, Yoast & Rank Math
  • Free on WordPress.org — no credit card
Sarah is here to help!
Hi there! 👋 Need help finding what you're looking for?
Sarah
Sarah
Online & Ready to Help
Hi there! 👋 Need help finding what you're looking for?

We'll use this to continue our conversation

Just now ✓ Verified

Join 500+ SEO Pros Scaling Their Strategy

Get exclusive programmatic SEO tactics, AI content workflows, and the latest PageForge updates delivered straight to your inbox. Stay ahead of the algorithm.

We care about your data in our privacy policy.