-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathblueprint-v3.json
59 lines (59 loc) · 1.4 KB
/
blueprint-v3.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
"landingPage": "/",
"preferredVersions": {
"wp":"beta"
},
"features": {
"networking": true
},
"plugins": ["block-visibility","public-post-preview"],
"steps": [
{
"step": "login"
},
{
"step": "wp-cli",
"command": "wp site empty --yes"
},
{
"step": "updateUserMeta",
"meta": {
"admin_color": "modern"
},
"userId": 1
},
{
"step": "importWxr",
"file": {
"resource": "url",
"url": "https://raw.githubusercontent.com/wptrainingteam/tt5-demo-blueprint/main/playground-content-v3.xml"
},
"importer": "data-liberation"
},
{
"step": "installTheme",
"themeZipFile": {
"resource": "wordpress.org/themes",
"slug": "twentytwentyfive"
},
"options": {
"activate": true
}
},
{
"step": "writeFile",
"path": "/wordpress/wp-content/mu-plugins/rewrite.php",
"data": "<?php add_action( 'after_setup_theme', function() { global $wp_rewrite; $wp_rewrite->set_permalink_structure('/%postname%/'); $wp_rewrite->flush_rules(); } );"
},
{
"step": "setSiteOptions",
"options": {
"blogname": "Twenty-Twenty-Five",
"blogdescription": "A preview of the next WordPress default theme",
"show_on_front": "page",
"page_on_front": 31,
"page_for_posts": 36
}
}
]
}