Skip to content

wptrainingteam/tt5-demo-blueprint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twenty Twenty Five default theme demo blueprint.

This is the example code for the WordPress Developer article: How to build a Theme demo blueprint for WordPress Playground

Demo Content

Importer versions

You can test is right here w/ playground

The first version of the content ran into a bug that still needs to be fixed. I tried now a second version of content.

Still a work in progress.

URL Replacement Script

The replace_urls.sh script is included to help replace URL patterns in the playground-content.xml file.

Usage

Interactive mode with defaults:

./replace_urls.sh

You'll be prompted to enter URLs, with default values shown in brackets. Press Enter to use the defaults.

Automatic mode with defaults:

./replace_urls.sh --use-defaults

Uses the hardcoded default values without prompting:

  • Find: http://localhost:8881/wp-content/uploads/2025/09/
  • Replace: https://raw.githubusercontent.com/wptrainingteam/tt5-demo-blueprint/main/media/

The script creates a backup of the original file as playground-content.xml.bak before making changes.

About

Example for Dev Blog: How to create a theme demo blueprint for WordPress Playground

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages