Embeds the WordPress playground through a shortcode.
Author: | Joost de Valk (profile at wordpress.org) |
WordPress version required: | 6.0 |
WordPress version tested: | 6.2.5 |
Plugin version: | 1.1 |
Added to WordPress repository: | 29-09-2023 |
Last updated: | 14-10-2023 |
Rating, %: | 0 |
Rated by: | 0 |
Plugin URI: | https://wordpress.org/plugins/playground-embe... |
Total downloads: | 293 |
Click to start download |
Add the WordPress playground by adding a [wp_playground]
shortcode to your pages. This plugin supports all the attributes the playground supports, which you can find here.
By default, the plugin lazy loads the playground, so it’s only loaded after a button click. An additional feature is that you
can decide not to lazy load the playground by adding lazy=0
to the shortcode, like so:
[wp_playground lazy=0]
At this point the plugin renders the playground immediately.
Blueprints
You can load entire blueprints into the shortcode by putting them in the content between the shortcode, like this:
[wp_playground]
{
"landingPage": "/wp-admin/",
"preferredVersions": {
"php": "8.0",
"wp": "latest"
},
"steps": [
{
"step": "login",
"username": "admin",
"password": "password"
}
]
}
[/wp_playground]
These blueprints allow you to install themes, plugins and more. To learn about them, read the Playground documentation.
Screenshots
ChangeLog