Skip to content

Instantly share code, notes, and snippets.

@bhubbard
Created August 28, 2025 04:51
Show Gist options
  • Save bhubbard/5cd2f628d9ea20978b895d7ef7accc2f to your computer and use it in GitHub Desktop.
Save bhubbard/5cd2f628d9ea20978b895d7ef7accc2f to your computer and use it in GitHub Desktop.
{
"$schema": "https://playground.wordpress.net/blueprint-schema.json",
"landingPage": "/wp-admin/plugins.php",
"steps": [
{
"step": "login",
"username": "admin",
"password": "password"
},
{
"step": "installTheme",
"themeZipFile": {
"resource": "wordpress.org/themes/ollie"
},
"options": {
"activate": true
}
},
{
"step": "installPlugin",
"pluginZipFile": {
"resource": "wordpress.org/plugins/wordpress-seo"
},
"options": {
"activate": true
}
},
{
"step": "installPlugin",
"pluginZipFile": {
"url": "https://vttiicmlzxzxrcyyewfn.supabase.co/storage/v1/object/public/ollie/releases/ollie_pro.zip"
},
"options": {
"activate": true
}
},
{
"step": "installPlugin",
"pluginZipFile": {
"url": "https://github.com/OllieWP/menu-designer/releases/latest/download/ollie-menu-designer.zip"
},
"options": {
"activate": true
}
},
{
"step": "installPlugin",
"pluginZipFile": {
"resource": "wordpress.org/plugins/stream"
},
"options": {
"activate": true
}
},
{
"step": "installPlugin",
"pluginZipFile": {
"resource": "wordpress.org/plugins/akismet"
},
"options": {
"activate": true
}
},
{
"step": "installPlugin",
"pluginZipFile": {
"resource": "wordpress.org/plugins/performance-lab"
},
"options": {
"activate": true
}
},
{
"step": "runPHP",
"code": "<?php $modules_to_enable = ['embed-optimizer/load.php', 'enhanced-responsive-images/load.php', 'image-placeholders/load.php', 'image-prioritizer/load.php', 'modern-image-formats/load.php', 'no-cache-bfcache/load.php', 'optimization-detective/load.php', 'performant-translations/load.php', 'speculative-loading/load.php', 'view-transitions/load.php', 'worker-offloading/load.php']; $options = get_option('perflab_options', []); if (!isset($options['modules'])) { $options['modules'] = []; } foreach ($modules_to_enable as $module) { $options['modules'][$module] = 'active'; } update_option('perflab_options', $options); ?>"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment