-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to build a theme demo with WP Playground blueprints #244
Comments
notes for demo content:
|
Hi 👋 I've been working on automatically generating theme previews for PRs in Automattic's free themes repo, in case it helps as an example of how to implement this and the constraints it involves. |
Theme demo with proper media imports is now possible Now this process should work.
|
With the bug fix in, @justintadlock content blueprint for #238 and my work with the Blueprint Gallery, I have enough knowledge and resources to give this topic a go. |
Skeleton for a different use case but with all the pieces:
|
Started working on the post on google Docs |
On content import, the theme demo ran into a bug on Playground, which was reported here: I continued on the writing tasks... |
Note: This topic was previously approved, but it has now been split from the existing ticket, which covers a more general overview/introduction: #198
Discussed in #196
Originally posted by justintadlock January 3, 2024
One of the most painful experiences (at least in my opinion) is managing live demos to showcase your new Wordpress theme to the world. You usually need to set up and maintain a multisite instance for multiple themes. And, it becomes more complex if you want to give potential users access to the admin to actually explore it. It's a headache and management nightmare.
What if you didn't need to do all of that?
That's where WordPress Playground comes in, especially its Blueprints API: https://wordpress.github.io/wordpress-playground/blueprints-api/index
You can easily provide a demo (even multiple demos with their own configurations) by simply providing a blueprint to Playground.
My proposal is to write a guide on using Playground to showcase your theme.
We have some working examples in the current Block Theme Examples repo (click the links in the README to see how this works): https://github.com/WordPress/block-theme-examples
The text was updated successfully, but these errors were encountered: