Title: Playground Embedder
Author: Joost de Valk
Published: <strong>September 29, 2023</strong>
Last modified: October 14, 2023

---

Search plugins

![](https://ps.w.org/playground-embedder/assets/banner-772x250.png?rev=2979037)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/playground-embedder/assets/icon-256x256.png?rev=2979037)

# Playground Embedder

 By [Joost de Valk](https://profiles.wordpress.org/joostdevalk/)

[Download](https://downloads.wordpress.org/plugin/playground-embedder.1.1.zip)

 * [Details](https://wordpress.org/plugins/playground-embedder/#description)
 * [Reviews](https://wordpress.org/plugins/playground-embedder/#reviews)
 *  [Installation](https://wordpress.org/plugins/playground-embedder/#installation)
 * [Development](https://wordpress.org/plugins/playground-embedder/#developers)

 [Support](https://wordpress.org/support/plugin/playground-embedder/)

## Description

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](https://wordpress.github.io/wordpress-playground/docs/query-api#available-options).

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](https://wordpress.github.io/wordpress-playground/blueprints-api/index).

## Screenshots

 * [[
 * A default button loaded when the playground is inserted into a page.
 * [[
 * The playground in action, this time loaded with `lazy=0`.

## Installation

 1. Install & activate the plugin.
 2. Add a `[wp_playground]` shortcode to one of your pages.
 3. You’re done.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Playground Embedder” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Joost de Valk ](https://profiles.wordpress.org/joostdevalk/)

“Playground Embedder” has been translated into 1 locale. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/playground-embedder/contributors)
for their contributions.

[Translate “Playground Embedder” into your language.](https://translate.wordpress.org/projects/wp-plugins/playground-embedder)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/playground-embedder/),
check out the [SVN repository](https://plugins.svn.wordpress.org/playground-embedder/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/playground-embedder/)
by [RSS](https://plugins.trac.wordpress.org/log/playground-embedder/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.1

Added the lazy loading option.

#### 1.0

Initial release.

## Meta

 *  Version **1.1**
 *  Last updated **3 years ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.0 or higher **
 *  Tested up to **6.2.9**
 *  PHP version ** 7.4 or higher **
 *  Languages
 * [Dutch](https://nl.wordpress.org/plugins/playground-embedder/) and [English (US)](https://wordpress.org/plugins/playground-embedder/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/playground-embedder)
 *  [Advanced View](https://wordpress.org/plugins/playground-embedder/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/playground-embedder/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/playground-embedder/reviews/)

## Contributors

 *   [ Joost de Valk ](https://profiles.wordpress.org/joostdevalk/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/playground-embedder/)