4WP Style Switcher

Changelog

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.

0.2.1

  • Fix visitor style switching on WordPress Playground (server-side cookie via query param).
  • Playground setup resolves variation slugs from the active theme dynamically.
  • Cookie sync uses Secure flag on HTTPS.

0.2.0

  • Style registry and resolver for theme.json variations.
  • Admin settings (General, Variations, A/B Testing) with REST API.
  • Frontend floating switcher with localStorage and cookie sync.
  • Light/Dark Gutenberg block for the Navigation menu.
  • A/B testing with lightweight daily stats table.
  • WordPress Playground blueprint (Morning / Afternoon / Midnight demo).
  • Fixes: empty allowed-variations recovery, A/B REST recursion, partial settings save.

0.1.0

  • Initial scaffold.

Plugin Website
Visit website

Author
4wpdev
Version:
1.0.1
Last Updated
June 14, 2026
Requires
WordPress 6.4
Tested Up To
WordPress 7.0
Requires PHP
7.4

Share Post

Join our newsletter.

Get insights into what’s happening at ChangelogWP right in your inbox. We don’t believe in spam.