diff --git a/.wordpress-org/blueprints/blueprint.json b/.wordpress-org/blueprints/blueprint.json new file mode 100644 index 0000000..20ee06d --- /dev/null +++ b/.wordpress-org/blueprints/blueprint.json @@ -0,0 +1,37 @@ +{ + "$schema": "https://playground.wordpress.net/blueprint-schema.json", + "landingPage": "/our-authors", + "preferredVersions": { + "php": "8.1", + "wp": "latest" + }, + "features": { + "networking": true + }, + "steps": [ + { + "step": "login" + }, + { + "step": "installPlugin", + "pluginData": { + "resource": "wordpress.org/plugins", + "slug": "wp-team-list" + }, + "options": { + "activate": true + } + }, + { + "step": "runPHP", + "code": " 'author1', 'user_pass' => 'author1', 'user_email' => 'author1@localhost', 'first_name' => 'Stevie', 'last_name' => 'Turner', 'display_name' => 'Stevie Turner', 'description' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.', 'role' => 'author',] ); wp_insert_user( [ 'user_login' => 'author2', 'user_pass' => 'author2', 'user_email' => 'author2@localhost', 'first_name' => 'Hannah', 'last_name' => 'Baker', 'display_name' => 'Hannah Baker', 'description' => 'Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.', 'role' => 'author',] ); wp_insert_post( [ 'post_title' => 'Our Authors', 'post_type' => 'page', 'post_name' => 'our-authors', 'post_content' => '', 'post_status' => 'publish', 'post_author' => 1,] );" + }, + { + "step": "setSiteOptions", + "options": { + "blogname": "Team List Demo", + "permalink_structure": "/%postname%/" + } + } + ] +}