{
  "$schema": "https://playground.wordpress.net/blueprint-schema.json",
  "landingPage": "/sample-page/",
  "preferredVersions": {
    "php": "8.3",
    "wp": "latest"
  },
  "steps": [
    {
      "step": "login",
      "username": "admin",
      "password": "password"
    },
    {
      "step": "setSiteOptions",
      "options": {
        "blogname": "Add theme matching Print 🖨 button in sidebar, footer, page or post",
		"blogdescription": "You should change this WordPress Theme to your favorite one to see how it looks. Then go to Appearance > Widgets, and drag Print 🖨 in sidebar or footer or into any widgetized area. Insert into page or post by Page Builder, or by Shortcode (which is mentioned in plugin description).",
		"sidebars_widgets": {
		  "sidebar-1": ["custom_html-1"]
		}
      }
    },
    {
      "step": "installPlugin",
      "pluginData": {
        "resource": "wordpress.org/plugins",
        "slug": "print-this-page"
      },
      "options": {
        "activate": true
      }
    },
    {
      "step": "installTheme",
      "themeData": {
        "resource": "wordpress.org/themes",
        "slug": "twentyfifteen"
      },
      "options": {
        "activate": true
      }
    },
	{
	  "step": "runPHP",
	  "code": "<?php require_once('/wordpress/wp-load.php'); $widget_options = get_option('widget_custom_html'); if (!is_array($widget_options)) { $widget_options = array(); } $widget_options[1] = array( 'title' => 'Widget Output', 'content' => do_shortcode('[printthispage_tawhidurrahmandear_widget]') ); update_option('widget_custom_html', $widget_options); ?>"
	}
  ]
}