{
	"$schema": "https://playground.wordpress.net/blueprint-schema.json",
	"meta": {
		"title": "Style Switcher — 4WP demo",
		"author": "4wpdev",
		"description": "Demo site: per-page theme.json styles, Light/Dark menu toggle, floating switcher, A/B testing. Twenty Twenty-Five.",
		"categories": ["plugins", "theme", "fse"]
	},
	"login": true,
	"landingPage": "/",
	"preferredVersions": {
		"php": "8.2",
		"wp": "latest"
	},
	"features": {
		"networking": true
	},
	"steps": [
		{
			"step": "installPlugin",
			"pluginData": {
				"resource": "url",
				"url": "https://codeload.github.com/4wpdev/4wp-style-switcher/zip/refs/tags/v1.0.0",
				"caption": "Installing 4WP Style Switcher"
			},
			"options": {
				"activate": true,
				"targetFolderName": "4wp-style-switcher"
			},
			"ifAlreadyInstalled": "overwrite"
		},
		{
			"step": "installTheme",
			"themeData": {
				"resource": "wordpress.org/themes",
				"slug": "twentytwentyfive"
			},
			"options": {
				"activate": true
			}
		},
		{
			"step": "runPHP",
			"code": "<?php require_once 'wordpress/wp-load.php'; require_once ABSPATH . 'wp-admin/includes/plugin.php'; $bootstrap = null; foreach ( glob( WP_PLUGIN_DIR . '/*/4wp-style-switcher.php' ) ?: array() as $file ) { $bootstrap = $file; break; } if ( ! $bootstrap ) { return; } $plugin = plugin_basename( $bootstrap ); if ( ! is_plugin_active( $plugin ) ) { activate_plugin( $plugin ); } $dir = dirname( $bootstrap ); $setup = $dir . '/playground/setup.php'; if ( is_readable( $setup ) ) { require_once $setup; forwp_ss_playground_setup(); } ?>"
		}
	]
}
