Skip to content

Commit 336b352

Browse files
committed
updated blueprint
1 parent c3af7b1 commit 336b352

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

blueprints/showcase-plugin-with-media/blueprint.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"$schema": "https://playground.wordpress.net/blueprint-schema.json",
33
"meta": {
44
"title": "Showcase plugin",
5-
"description": "Offer full demo of plugin with media included",
6-
"author": "lovor",
5+
"description": "Showcase custom plugin from own server with media files and content imported as WXR. There is a readme file in github repository (https://github.com/Lovor01/blueprints/blob/trunk/blueprints/showcase-plugin-with-media/readme.md) which explains all steps.",
6+
"author": "Lovor01",
77
"categories": ["plugin", "demo", "media", "images"]
88
},
99
"preferredVersions": {
@@ -50,7 +50,7 @@
5050
"step": "installTheme",
5151
"themeData": {
5252
"resource": "url",
53-
"url": "https://raw.githubusercontent.com/wordpress/blueprints/trunk/blueprints/showcase-plugin-with-media/assets/twentytwentyfour-child.zip"
53+
"url": "https://raw.githubusercontent.com/Lovor01/blueprints/trunk/blueprints/showcase-plugin-with-media/assets/twentytwentyfour-child.zip"
5454
},
5555
"options": {
5656
"activate": true
@@ -87,15 +87,15 @@
8787
"step": "unzip",
8888
"zipFile": {
8989
"resource": "url",
90-
"url": "https://raw.githubusercontent.com/wordpress/blueprints/trunk/blueprints/showcase-plugin-with-media/assets/2024.zip"
90+
"url": "https://raw.githubusercontent.com/Lovor01/blueprints/trunk/blueprints/showcase-plugin-with-media/assets/2024.zip"
9191
},
9292
"extractToPath": "/wordpress/wp-content/uploads"
9393
},
9494
{
9595
"step": "importWxr",
9696
"file": {
9797
"resource": "url",
98-
"url": "https://raw.githubusercontent.com/wordpress/blueprints/trunk/blueprints/showcase-plugin-with-media/assets/makeiteasypopupblock.WordPress.2024-06-20.xml"
98+
"url": "https://raw.githubusercontent.com/Lovor01/blueprints/trunk/blueprints/showcase-plugin-with-media/assets/makeiteasypopupblock.WordPress.2024-06-20.xml"
9999
}
100100
}
101101
]

blueprints/showcase-plugin-with-media/readme.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ Custom child theme is zipped and installed as [URLReference](https://wordpress.g
99

1010
### Installing plugin
1111

12-
Plugin is installed from *WordPress.org* repository. If your plugin is not (yet) there, you could self-host it and install id as [URLReference](https://wordpress.github.io/wordpress-playground/blueprints/steps/resources#urlreference) resource.
12+
Plugin is installed from _WordPress.org_ repository. If your plugin is not (yet) there, you could self-host it and install it as [URLReference](https://wordpress.github.io/wordpress-playground/blueprints/steps/resources#urlreference) resource.
1313

1414
### Importing media files into file system
1515

1616
Here, the [unzip](https://wordpress.github.io/wordpress-playground/blueprints/steps#UnzipStep) step is used:
1717
zip all the folders in upload folder and in unzip step unpack them to respective path `/site-slug/wp-content/uploads`, where slug
1818
is the custom slug if given, e.g. for `site-slug=mysite` in URL query, path would be `/site-mysite/wp-content/uploads`. If custom slug is not given, replace site-slug
19-
with `wordpress`. In this example, all media content from 2024 year is packed as 2024 folder in *.zip* file, just as it appears in WordPress content directory.
19+
with `wordpress`. In this example, all media content from 2024 year is packed as 2024 folder in _.zip_ file, just as it appears in WordPress content directory.
2020

2121
### Setting defaults
2222

0 commit comments

Comments
 (0)