1
1
{
2
- "$schema" : " https://playground.wordpress.net/blueprint-schema.json" ,
3
- "meta" : {
4
- "title" : " Custom Post Type: Books" ,
5
- "description" : " Blueprint that added a custom post type to playground" ,
6
- "author" : " bph" ,
7
- "categories" : [" Content" , " CPT" ]
8
- },
9
- "landingPage" : " /wp-admin/" ,
10
- "steps" :[
11
- {
12
- "step" : " login"
13
- },
14
- {
15
- "step" : " mkdir" ,
16
- "path" : " /wordpress/wp-content/plugins/books"
17
- },
18
- {
19
- "step" : " writeFile" ,
20
- "path" : " /wordpress/wp-content/plugins/books/books.php" ,
21
- "data" : {
22
- "resource" : " url" ,
23
- "url" : " https://raw.githubusercontent.com/adamziel/blueprints/trunk/blueprints/custom-post/books.php"
24
- }
25
- },
26
- {
27
- "step" : " activatePlugin" ,
28
- "pluginPath" : " books/books.php"
29
- }
30
- ]
31
- }
2
+ "$schema" : " https://playground.wordpress.net/blueprint-schema.json" ,
3
+ "meta" : {
4
+ "title" : " Custom Post Type: Books" ,
5
+ "description" : " Blueprint that added a custom post type to playground" ,
6
+ "author" : " bph" ,
7
+ "categories" : [" Content" , " CPT" ]
8
+ },
9
+ "landingPage" : " /wp-admin/" ,
10
+ "steps" : [
11
+ {
12
+ "step" : " login"
13
+ },
14
+ {
15
+ "step" : " mkdir" ,
16
+ "path" : " /wordpress/wp-content/plugins/books"
17
+ },
18
+ {
19
+ "step" : " writeFile" ,
20
+ "path" : " /wordpress/wp-content/plugins/books/books.php" ,
21
+ "data" : {
22
+ "resource" : " url" ,
23
+ "url" : " https://raw.githubusercontent.com/adamziel/blueprints/trunk/blueprints/custom-post/books.php"
24
+ }
25
+ },
26
+ {
27
+ "step" : " activatePlugin" ,
28
+ "pluginPath" : " books/books.php"
29
+ }
30
+ ]
31
+ }
0 commit comments