-
Notifications
You must be signed in to change notification settings - Fork 6
/
blueprint.json
64 lines (64 loc) · 1.54 KB
/
blueprint.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
60
61
62
63
64
{
"$schema": "https://playground.wordpress.net/blueprint-schema.json",
"meta": {
"title": "Live demo the Kanso WordPress theme for bloggers.",
"description": "",
"author": "richtabor",
"categories": [ "theme" ]
},
"landingPage": "/wp-admin/site-editor.php",
"login": true,
"steps": [
{
"step": "resetData"
},
{
"step": "writeFile",
"path": "/wordpress/wp-content/mu-plugins/rewrite.php",
"data": "<?php /* Use pretty permalinks */ add_action( 'after_setup_theme', function() { global $wp_rewrite; $wp_rewrite->set_permalink_structure('/%postname%/'); $wp_rewrite->flush_rules(); } );"
},
{
"step": "updateUserMeta",
"meta": {
"admin_color": "modern"
},
"userId": 1
},
{
"step": "updateUserMeta",
"meta": {
"first_name": "Rich",
"last_name": "Tabor"
},
"userId": 1
},
{
"step": "installTheme",
"themeZipFile": {
"resource": "url",
"url": "https://github-proxy.com/proxy/?repo=richtabor/kanso&branch=main"
},
"options": {
"activate": true
}
},
{
"step": "importWxr",
"file": {
"resource": "url",
"url": "https://raw.githubusercontent.com/richtabor/kanso/blueprint-content.xml"
}
},
{
"step": "setSiteOptions",
"options": {
"blogname": "Rich Tabor",
"blogdescription": "Multidisciplinary maker specializing in the intersection of product, design and engineering. Making WordPress.",
"show_on_front": "page",
"page_on_front": 6,
"page_for_posts": 2
}
}
],
"plugins": [ "todo-list-block", "markdown-comment-block" ]
}