Skip to content

Commit c1e4b23

Browse files
rework the faq-index template to better match rough baseline faq-index context in index-prototype
1 parent a34b00a commit c1e4b23

File tree

2 files changed

+86
-33
lines changed

2 files changed

+86
-33
lines changed

src/inc/acf-json/group_66e1dc8531b97.json

+84-31
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
"title": "FAQs Index Settings",
44
"fields": [
55
{
6-
"key": "field_66e1dc8536371",
7-
"label": "Introduction",
8-
"name": "introduction",
6+
"key": "field_67cf512a1feef",
7+
"label": "Top Group",
8+
"name": "top_group",
99
"aria-label": "",
10-
"type": "wysiwyg",
10+
"type": "post_object",
1111
"instructions": "",
1212
"required": 0,
1313
"conditional_logic": 0,
@@ -16,19 +16,27 @@
1616
"class": "",
1717
"id": ""
1818
},
19-
"default_value": "",
19+
"post_type": [
20+
"faqs-group"
21+
],
22+
"post_status": [
23+
"publish"
24+
],
25+
"taxonomy": "",
26+
"return_format": "object",
27+
"multiple": 0,
28+
"allow_null": 0,
2029
"allow_in_bindings": 1,
21-
"tabs": "all",
22-
"toolbar": "basic",
23-
"media_upload": 0,
24-
"delay": 0
30+
"bidirectional": 0,
31+
"ui": 1,
32+
"bidirectional_target": []
2533
},
2634
{
27-
"key": "field_66e33839f0a62",
28-
"label": "Display Groups",
29-
"name": "groups",
35+
"key": "field_67cf52dc0a1e3",
36+
"label": "Featured Areas",
37+
"name": "featured_areas",
3038
"aria-label": "",
31-
"type": "relationship",
39+
"type": "group",
3240
"instructions": "",
3341
"required": 0,
3442
"conditional_logic": 0,
@@ -37,23 +45,68 @@
3745
"class": "",
3846
"id": ""
3947
},
40-
"post_type": [
41-
"faqs-group"
42-
],
43-
"post_status": [
44-
"publish"
45-
],
46-
"taxonomy": "",
47-
"filters": [
48-
"search"
49-
],
50-
"return_format": "object",
51-
"min": "",
52-
"max": "",
53-
"allow_in_bindings": 1,
54-
"elements": "",
55-
"bidirectional": 0,
56-
"bidirectional_target": []
48+
"layout": "block",
49+
"sub_fields": [
50+
{
51+
"key": "field_67cf539a533f3",
52+
"label": "Groups",
53+
"name": "groups",
54+
"aria-label": "",
55+
"type": "relationship",
56+
"instructions": "",
57+
"required": 0,
58+
"conditional_logic": 0,
59+
"wrapper": {
60+
"width": "",
61+
"class": "",
62+
"id": ""
63+
},
64+
"post_type": [
65+
"faqs-group"
66+
],
67+
"post_status": [
68+
"publish"
69+
],
70+
"taxonomy": "",
71+
"filters": [
72+
"search"
73+
],
74+
"return_format": "object",
75+
"min": "",
76+
"max": "",
77+
"allow_in_bindings": 0,
78+
"elements": "",
79+
"bidirectional": 0,
80+
"bidirectional_target": []
81+
},
82+
{
83+
"key": "field_67cf53430a1e4",
84+
"label": "Link Type",
85+
"name": "link_type",
86+
"aria-label": "",
87+
"type": "select",
88+
"instructions": "Should Questions perform an anchor jump (same page), or open the group in a new page?",
89+
"required": 0,
90+
"conditional_logic": 0,
91+
"wrapper": {
92+
"width": "",
93+
"class": "",
94+
"id": ""
95+
},
96+
"choices": {
97+
"to-anchor": "to Anchor",
98+
"to-page": "to Page"
99+
},
100+
"default_value": "to-anchor",
101+
"return_format": "value",
102+
"multiple": 0,
103+
"allow_null": 0,
104+
"allow_in_bindings": 1,
105+
"ui": 0,
106+
"ajax": 0,
107+
"placeholder": ""
108+
}
109+
]
57110
},
58111
{
59112
"key": "field_66e1dc85364e7",
@@ -105,5 +158,5 @@
105158
"active": true,
106159
"description": "",
107160
"show_in_rest": 0,
108-
"modified": 1741361861
161+
"modified": 1741640959
109162
}

src/inc/acf-json/post_type_66e1e0b388971.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"import_date": "",
1010
"labels": {
1111
"name": "FAQs Groups",
12-
"singular_name": "Grouping",
12+
"singular_name": "FAQs Group",
1313
"menu_name": "FAQs Grouping",
1414
"all_items": "Groups",
1515
"edit_item": "Edit FAQs Group",
@@ -80,5 +80,5 @@
8080
"delete_with_user": false,
8181
"register_meta_box_cb": "",
8282
"enter_title_here": "",
83-
"modified": 1741360936
83+
"modified": 1741640086
8484
}

0 commit comments

Comments
 (0)