Skip to content

Demonstrate how to use a standalone instance of WordPress Playground for interactive demos, guides, and project handovers.

License

Notifications You must be signed in to change notification settings

wptrainingteam/playground-demo-handover

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Use WordPress Playground for interactive demos

The code in this repository demonstrates how to use WordPress Playground for interactive project handovers.

In this demo, we create a post that explains to the user how to update the data of a custom plugin.

Read Ronny Shani's step-by-step tutorial on the WordPress Developer Blog: How to use WordPress Playground for interactive demos.

Themes

The themes directory includes a customized copy of Blue Note, a community theme developed by WordPress contributors.

Plugins

The plugins directory includes a custom plugin used in the website: Meta Block Sidebar (see meta-block-sidebar): a custom block that adds two custom meta fields (team and joined) specifying the person's team name and the date (Month, Year) they joined the company. In this example, we include the block in the single.html template file, which displays it on every post*.

The demo also installs the community plugin Create Block Theme.

Playground

We use WordPress Playground to run an in-browser instance of WordPress with the adapted Blue Note theme and the plugin already installed and activated: open the live demo we prepared.

Tip

The files that power the demo are in the playground directory. You can change the behavior by editing the Blueprint section in index.html.

About

Demonstrate how to use a standalone instance of WordPress Playground for interactive demos, guides, and project handovers.

Topics

Resources

License

Stars

Watchers

Forks