WordPress Playground for Theme Developers
The WordPress Playground is an innovative tool that allows theme developers to build, test, and showcase their themes directly in a browser environment.
This guide will show you how to use WordPress Playground to improve your theme development workflow, create live demos to showcase your theme, and simplify the theme review process.
Discover how to Build, Test, and Launch your products with WordPress Playground in the About Playground section
Launching a Playground instance with a theme
Themes in the WordPress themes directory
With WordPress Playground, you can quickly launch a WordPress installation using any theme available in the WordPress Themes Directory. Simply pass the theme query parameter to the Playground URL like this: https://playground.wordpress.net/?theme=disco.
You can also load any theme from the WordPress themes directory by setting the installTheme step of a Blueprint passed to the Playground instance.
{
"steps": [
{
"step": "installTheme",
"themeData": {
"resource": "wordpress.org/themes",
"slug": "twentytwenty"
},
"options": {
"activate": true,
"importStarterContent": true
}
}
]
}