跳到内容

Playground Embedder

v1.1

Joost de Valk · 2023年9月29日 上架

Embeds the WordPress playground through a shortcode.

正在使用
10 以下
评分
暂无
累计下载
1,074
最近更新
2023年10月14日
需要 WordPress 6.0+已测试到 6.2.16PHP 7.4+

贡献者

截图

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

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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums