-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhandoff-wp.config.example.json
More file actions
103 lines (93 loc) · 2.55 KB
/
Copy pathhandoff-wp.config.example.json
File metadata and controls
103 lines (93 loc) · 2.55 KB
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
{
"apiUrl": "https://demo.handoff.com",
"output": "wp-content/handoff/blocks",
"themeDir": "./wp-content/theme",
"username": "",
"password": "",
"import": {
"element": false,
"block": {
"deprecated-component": false,
"hero-carousel": {
"slides": {
"postTypes": ["post", "page"],
"defaultPostType": "post",
"selectionMode": "manual",
"maxItems": 10,
"renderMode": "mapped",
"fieldMapping": {
"image": "featured_image",
"title": "post_title",
"subtitle": "post_excerpt",
"link.url": "permalink",
"link.label": { "type": "static", "value": "Learn More" }
}
}
},
"posts-latest": {
"posts": {
"postTypes": ["post", "page", "custom_post_type"],
"selectionMode": "query",
"maxItems": 20,
"renderMode": "mapped",
"fieldMapping": {
"image": "featured_image",
"title": "post_title",
"excerpt": "post_excerpt",
"date.day": "post_date:day_numeric",
"date.month": "post_date:month_short",
"date.year": "post_date:year",
"category": { "type": "taxonomy", "taxonomy": "category", "format": "first" },
"author": "author.name",
"link.url": "permalink",
"link.text": { "type": "static", "value": "Read More" },
"type": { "type": "manual" }
},
"defaultQueryArgs": {
"posts_per_page": 6,
"orderby": "date",
"order": "DESC"
}
}
},
"card-grid": {
"cards": {
"postTypes": ["post"],
"selectionMode": "manual",
"renderMode": "template",
"templatePath": "template-parts/cards/post-card.php"
}
},
"content-page": {
"content": { "innerBlocks": true }
},
"blog-post": {
"breadcrumbs": {
"arrayType": "breadcrumbs"
},
"tags": {
"arrayType": "taxonomy",
"taxonomies": ["post_tag", "category"],
"maxItems": 5
},
"pagination": {
"arrayType": "pagination",
"connectedField": "posts"
}
}
}
},
"groups": {
"heroes": "merged",
"ctas": "merged"
},
"compiler": {
"styleMode": "legacy",
"syncDesignSystemAssets": true,
"enqueueGlobalDesignSystemJs": true
},
"editor": {
"extraStylesheets": [],
"scopeDesignSystem": true
}
}