Skip to content

Commit 8273258

Browse files
authored
Feat: 🎉 Lots of additions and Refinements (#1)
- Re-add short-codes - Sync ACF Fields to plugin directory - Add settings page - Register custom block bindings
1 parent 2d910d4 commit 8273258

12 files changed

+774
-35
lines changed
Lines changed: 282 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,282 @@
1+
{
2+
"key": "group_675c76e8a84a6",
3+
"title": "Contact Info",
4+
"fields": [
5+
{
6+
"key": "field_675c76e891d1b",
7+
"label": "First name",
8+
"name": "first_name",
9+
"aria-label": "",
10+
"type": "text",
11+
"instructions": "",
12+
"required": 0,
13+
"conditional_logic": 0,
14+
"wrapper": {
15+
"width": "",
16+
"class": "",
17+
"id": ""
18+
},
19+
"default_value": "",
20+
"maxlength": "",
21+
"allow_in_bindings": 0,
22+
"placeholder": "",
23+
"prepend": "",
24+
"append": ""
25+
},
26+
{
27+
"key": "field_675c772291d1c",
28+
"label": "Last name",
29+
"name": "last_name",
30+
"aria-label": "",
31+
"type": "text",
32+
"instructions": "",
33+
"required": 0,
34+
"conditional_logic": 0,
35+
"wrapper": {
36+
"width": "",
37+
"class": "",
38+
"id": ""
39+
},
40+
"default_value": "",
41+
"maxlength": "",
42+
"allow_in_bindings": 0,
43+
"placeholder": "",
44+
"prepend": "",
45+
"append": ""
46+
},
47+
{
48+
"key": "field_675c773491d1d",
49+
"label": "Title",
50+
"name": "title",
51+
"aria-label": "",
52+
"type": "text",
53+
"instructions": "",
54+
"required": 0,
55+
"conditional_logic": 0,
56+
"wrapper": {
57+
"width": "",
58+
"class": "",
59+
"id": ""
60+
},
61+
"default_value": "",
62+
"maxlength": "",
63+
"allow_in_bindings": 0,
64+
"placeholder": "",
65+
"prepend": "",
66+
"append": ""
67+
},
68+
{
69+
"key": "field_675c774e91d1e",
70+
"label": "Phone",
71+
"name": "phone",
72+
"aria-label": "",
73+
"type": "number",
74+
"instructions": "",
75+
"required": 0,
76+
"conditional_logic": 0,
77+
"wrapper": {
78+
"width": "",
79+
"class": "",
80+
"id": ""
81+
},
82+
"default_value": "",
83+
"min": "",
84+
"max": "",
85+
"allow_in_bindings": 0,
86+
"placeholder": "",
87+
"step": "",
88+
"prepend": "",
89+
"append": ""
90+
},
91+
{
92+
"key": "field_675c776e91d1f",
93+
"label": "Email",
94+
"name": "email",
95+
"aria-label": "",
96+
"type": "email",
97+
"instructions": "",
98+
"required": 0,
99+
"conditional_logic": 0,
100+
"wrapper": {
101+
"width": "",
102+
"class": "",
103+
"id": ""
104+
},
105+
"default_value": "",
106+
"allow_in_bindings": 0,
107+
"placeholder": "",
108+
"prepend": "",
109+
"append": ""
110+
},
111+
{
112+
"key": "field_675c779c91d20",
113+
"label": "Website",
114+
"name": "website",
115+
"aria-label": "",
116+
"type": "url",
117+
"instructions": "",
118+
"required": 0,
119+
"conditional_logic": 0,
120+
"wrapper": {
121+
"width": "",
122+
"class": "",
123+
"id": ""
124+
},
125+
"default_value": "",
126+
"allow_in_bindings": 0,
127+
"placeholder": ""
128+
},
129+
{
130+
"key": "field_675c77b691d21",
131+
"label": "Address",
132+
"name": "address",
133+
"aria-label": "",
134+
"type": "text",
135+
"instructions": "",
136+
"required": 0,
137+
"conditional_logic": 0,
138+
"wrapper": {
139+
"width": "",
140+
"class": "",
141+
"id": ""
142+
},
143+
"default_value": "",
144+
"maxlength": "",
145+
"allow_in_bindings": 0,
146+
"placeholder": "",
147+
"prepend": "",
148+
"append": ""
149+
},
150+
{
151+
"key": "field_675c77f191d22",
152+
"label": "City",
153+
"name": "city",
154+
"aria-label": "",
155+
"type": "text",
156+
"instructions": "",
157+
"required": 0,
158+
"conditional_logic": 0,
159+
"wrapper": {
160+
"width": "",
161+
"class": "",
162+
"id": ""
163+
},
164+
"default_value": "",
165+
"maxlength": "",
166+
"allow_in_bindings": 0,
167+
"placeholder": "",
168+
"prepend": "",
169+
"append": ""
170+
},
171+
{
172+
"key": "field_675c77fb91d23",
173+
"label": "State",
174+
"name": "state",
175+
"aria-label": "",
176+
"type": "text",
177+
"instructions": "",
178+
"required": 0,
179+
"conditional_logic": 0,
180+
"wrapper": {
181+
"width": "",
182+
"class": "",
183+
"id": ""
184+
},
185+
"default_value": "",
186+
"maxlength": "",
187+
"allow_in_bindings": 0,
188+
"placeholder": "",
189+
"prepend": "",
190+
"append": ""
191+
},
192+
{
193+
"key": "field_675c780491d24",
194+
"label": "Zip",
195+
"name": "zip",
196+
"aria-label": "",
197+
"type": "number",
198+
"instructions": "",
199+
"required": 0,
200+
"conditional_logic": 0,
201+
"wrapper": {
202+
"width": "",
203+
"class": "",
204+
"id": ""
205+
},
206+
"default_value": "",
207+
"min": "",
208+
"max": "",
209+
"allow_in_bindings": 1,
210+
"placeholder": "",
211+
"step": "",
212+
"prepend": "",
213+
"append": ""
214+
},
215+
{
216+
"key": "field_675c79caa27f8",
217+
"label": "Bio",
218+
"name": "bio",
219+
"aria-label": "",
220+
"type": "textarea",
221+
"instructions": "",
222+
"required": 0,
223+
"conditional_logic": 0,
224+
"wrapper": {
225+
"width": "",
226+
"class": "",
227+
"id": ""
228+
},
229+
"default_value": "Please write a brief bio",
230+
"maxlength": "",
231+
"allow_in_bindings": 0,
232+
"rows": "",
233+
"placeholder": "",
234+
"new_lines": ""
235+
},
236+
{
237+
"key": "field_675c7ead3563b",
238+
"label": "Photo",
239+
"name": "photo",
240+
"aria-label": "",
241+
"type": "image",
242+
"instructions": "",
243+
"required": 0,
244+
"conditional_logic": 0,
245+
"wrapper": {
246+
"width": "",
247+
"class": "",
248+
"id": ""
249+
},
250+
"return_format": "array",
251+
"library": "all",
252+
"min_width": "",
253+
"min_height": "",
254+
"min_size": "",
255+
"max_width": "",
256+
"max_height": "",
257+
"max_size": "",
258+
"mime_types": "",
259+
"allow_in_bindings": 0,
260+
"preview_size": "medium"
261+
}
262+
],
263+
"location": [
264+
[
265+
{
266+
"param": "post_type",
267+
"operator": "==",
268+
"value": "person"
269+
}
270+
]
271+
],
272+
"menu_order": 0,
273+
"position": "normal",
274+
"style": "default",
275+
"label_placement": "top",
276+
"instruction_placement": "label",
277+
"hide_on_screen": "",
278+
"active": false,
279+
"description": "",
280+
"show_in_rest": 1,
281+
"modified": 1734467293
282+
}
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
{
2+
"key": "group_675dd1dd7b454",
3+
"title": "Posts",
4+
"fields": [
5+
{
6+
"key": "field_675dd1dd47989",
7+
"label": "Subtitle",
8+
"name": "subtitle",
9+
"aria-label": "",
10+
"type": "text",
11+
"instructions": "",
12+
"required": 0,
13+
"conditional_logic": 0,
14+
"wrapper": {
15+
"width": "",
16+
"class": "",
17+
"id": ""
18+
},
19+
"default_value": "Subtitle",
20+
"maxlength": "",
21+
"allow_in_bindings": 0,
22+
"placeholder": "",
23+
"prepend": "",
24+
"append": ""
25+
}
26+
],
27+
"location": [
28+
[
29+
{
30+
"param": "post_type",
31+
"operator": "==",
32+
"value": "post"
33+
}
34+
]
35+
],
36+
"menu_order": 0,
37+
"position": "side",
38+
"style": "seamless",
39+
"label_placement": "top",
40+
"instruction_placement": "label",
41+
"hide_on_screen": "",
42+
"active": true,
43+
"description": "Additional post fields",
44+
"show_in_rest": 1,
45+
"modified": 1734366248
46+
}

0 commit comments

Comments
 (0)