質問編集履歴
1
求められた情報を追加。文字制限にひっかかったので削ったり、コードを画像にした。
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
###前提・実現したいこと
|
2
2
|
|
3
|
-
Advanced Custom Fieldsのリピーターフィールド
|
3
|
+
Advanced Custom Fieldsのリピーターフィールド機能を使って作成された情報を、
|
4
4
|
|
5
5
|
昇順でソートしたいです。
|
6
6
|
|
@@ -8,8 +8,6 @@
|
|
8
8
|
|
9
9
|
イベント情報のサイトを制作中です。
|
10
10
|
|
11
|
-
イベント情報はAdvanced Custom Fieldsのリピーターフィールド機能を使って作成しています。
|
12
|
-
|
13
11
|
現状では作成されたイベント情報が、登録順に並んでいます。
|
14
12
|
|
15
13
|
|
@@ -58,126 +56,710 @@
|
|
58
56
|
|
59
57
|
###ACFの出力コード
|
60
58
|
|
61
|
-
出力コードは以下のように入れてみました。
|
59
|
+
出力コードは以下のように入れてみました。文字制限にひっかかるので画像でスイマセン。
|
62
|
-
|
63
|
-
|
60
|
+
|
64
|
-
|
65
|
-
「2016年12月25日(日)10:00-12:00」と西暦から時間まで、まとめてテキストで入れているから
|
61
|
+
ソートするためのコードを入れる場所が違うのか、「2016年12月25日(日)10:00-12:00」と西暦から時間まで、まとめてテキストで入れているから
|
66
62
|
|
67
63
|
ソートできないのか判断しかねています。
|
68
64
|
|
69
|
-
|
65
|
+
![イメージ説明](507f04b5c8da4963fc874c6f296d36e0.png)
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
###補足情報(ツール等のバージョンなど)
|
70
|
+
|
71
|
+
使用バージョン WordPress 4.7
|
72
|
+
|
73
|
+
テーマ 賢威7.0 クール版
|
74
|
+
|
75
|
+
Advanced Custom Fields PRO バージョン 5.4.3
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
###追記(2016/12/24/15:30)
|
80
|
+
|
81
|
+
※この情報でよいでしょうか?
|
70
82
|
|
71
83
|
```PHP
|
72
84
|
|
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
|
-
'o
|
100
|
-
|
101
|
-
'
|
102
|
-
|
103
|
-
'
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
85
|
+
if( function_exists('acf_add_local_field_group') ):
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
acf_add_local_field_group(array (
|
90
|
+
|
91
|
+
'key' => 'group_58532f7a289e8',
|
92
|
+
|
93
|
+
'title' => 'イベント情報を追加・編集',
|
94
|
+
|
95
|
+
'fields' => array (
|
96
|
+
|
97
|
+
array (
|
98
|
+
|
99
|
+
'key' => 'field_58532fbe44f87',
|
100
|
+
|
101
|
+
'label' => 'イベント情報',
|
102
|
+
|
103
|
+
'name' => 'event-cat',
|
104
|
+
|
105
|
+
'type' => 'repeater',
|
106
|
+
|
107
|
+
'instructions' => '',
|
108
|
+
|
109
|
+
'required' => 0,
|
110
|
+
|
111
|
+
'conditional_logic' => 0,
|
112
|
+
|
113
|
+
'wrapper' => array (
|
114
|
+
|
115
|
+
'width' => '',
|
116
|
+
|
117
|
+
'class' => '',
|
118
|
+
|
119
|
+
'id' => '',
|
120
|
+
|
121
|
+
),
|
122
|
+
|
123
|
+
'collapsed' => '',
|
124
|
+
|
125
|
+
'min' => '',
|
126
|
+
|
127
|
+
'max' => '',
|
128
|
+
|
129
|
+
'layout' => 'row',
|
130
|
+
|
131
|
+
'button_label' => '行を追加',
|
132
|
+
|
133
|
+
'sub_fields' => array (
|
134
|
+
|
135
|
+
array (
|
136
|
+
|
137
|
+
'key' => 'field_5853369744f89',
|
138
|
+
|
139
|
+
'label' => 'カテゴリー名',
|
140
|
+
|
141
|
+
'name' => 'event-cat-name',
|
142
|
+
|
143
|
+
'type' => 'text',
|
144
|
+
|
145
|
+
'instructions' => '',
|
146
|
+
|
147
|
+
'required' => 0,
|
148
|
+
|
149
|
+
'conditional_logic' => 0,
|
150
|
+
|
151
|
+
'wrapper' => array (
|
152
|
+
|
153
|
+
'width' => '',
|
154
|
+
|
155
|
+
'class' => '',
|
156
|
+
|
157
|
+
'id' => '',
|
158
|
+
|
159
|
+
),
|
160
|
+
|
161
|
+
'default_value' => 'Event',
|
162
|
+
|
163
|
+
'placeholder' => '',
|
164
|
+
|
165
|
+
'prepend' => '',
|
166
|
+
|
167
|
+
'append' => '',
|
168
|
+
|
169
|
+
'maxlength' => '',
|
170
|
+
|
171
|
+
),
|
172
|
+
|
173
|
+
array (
|
174
|
+
|
175
|
+
'key' => 'field_58533a0e44f8a',
|
176
|
+
|
177
|
+
'label' => 'カテゴリーラベル',
|
178
|
+
|
179
|
+
'name' => 'event-cat-label',
|
180
|
+
|
181
|
+
'type' => 'text',
|
182
|
+
|
183
|
+
'instructions' => 'かならず半角英数字で入力してください',
|
184
|
+
|
185
|
+
'required' => 0,
|
186
|
+
|
187
|
+
'conditional_logic' => 0,
|
188
|
+
|
189
|
+
'wrapper' => array (
|
190
|
+
|
191
|
+
'width' => '',
|
192
|
+
|
193
|
+
'class' => '',
|
194
|
+
|
195
|
+
'id' => '',
|
196
|
+
|
197
|
+
),
|
198
|
+
|
199
|
+
'default_value' => 'event-cat-label',
|
200
|
+
|
201
|
+
'placeholder' => '',
|
202
|
+
|
203
|
+
'prepend' => '',
|
204
|
+
|
205
|
+
'append' => '',
|
206
|
+
|
207
|
+
'maxlength' => '',
|
208
|
+
|
209
|
+
),
|
210
|
+
|
211
|
+
array (
|
212
|
+
|
213
|
+
'key' => 'field_58533aaa44f8b',
|
214
|
+
|
215
|
+
'label' => 'イベントセット',
|
216
|
+
|
217
|
+
'name' => 'event-set',
|
218
|
+
|
219
|
+
'type' => 'repeater',
|
220
|
+
|
221
|
+
'instructions' => '',
|
222
|
+
|
223
|
+
'required' => 0,
|
224
|
+
|
225
|
+
'conditional_logic' => 0,
|
226
|
+
|
227
|
+
'wrapper' => array (
|
228
|
+
|
229
|
+
'width' => '',
|
230
|
+
|
231
|
+
'class' => '',
|
232
|
+
|
233
|
+
'id' => '',
|
234
|
+
|
235
|
+
),
|
236
|
+
|
237
|
+
'collapsed' => '',
|
238
|
+
|
239
|
+
'min' => '',
|
240
|
+
|
241
|
+
'max' => '',
|
242
|
+
|
243
|
+
'layout' => 'row',
|
244
|
+
|
245
|
+
'button_label' => '行を追加',
|
246
|
+
|
247
|
+
'sub_fields' => array (
|
248
|
+
|
249
|
+
array (
|
250
|
+
|
251
|
+
'key' => 'field_58533b0144f8c',
|
252
|
+
|
253
|
+
'label' => 'イベントの名前',
|
254
|
+
|
255
|
+
'name' => 'event-set-name',
|
256
|
+
|
257
|
+
'type' => 'text',
|
258
|
+
|
259
|
+
'instructions' => 'イベントの名前を入力してください',
|
260
|
+
|
261
|
+
'required' => 0,
|
262
|
+
|
263
|
+
'conditional_logic' => 0,
|
264
|
+
|
265
|
+
'wrapper' => array (
|
266
|
+
|
267
|
+
'width' => '',
|
268
|
+
|
269
|
+
'class' => '',
|
270
|
+
|
271
|
+
'id' => '',
|
272
|
+
|
273
|
+
),
|
274
|
+
|
275
|
+
'default_value' => '',
|
276
|
+
|
277
|
+
'placeholder' => 'イベントの名前を入力してください',
|
278
|
+
|
279
|
+
'prepend' => '',
|
280
|
+
|
281
|
+
'append' => '',
|
282
|
+
|
283
|
+
'maxlength' => '',
|
284
|
+
|
285
|
+
),
|
286
|
+
|
287
|
+
array (
|
288
|
+
|
289
|
+
'key' => 'field_58533b5d44f8d',
|
290
|
+
|
291
|
+
'label' => 'イベントの開催日時',
|
292
|
+
|
293
|
+
'name' => 'event-set-date',
|
294
|
+
|
295
|
+
'type' => 'text',
|
296
|
+
|
297
|
+
'instructions' => 'イベントの開催日・曜日・時間を入力してください。
|
298
|
+
|
299
|
+
例)2017年1月1日(日)10:00~12:00',
|
300
|
+
|
301
|
+
'required' => 0,
|
302
|
+
|
303
|
+
'conditional_logic' => 0,
|
304
|
+
|
305
|
+
'wrapper' => array (
|
306
|
+
|
307
|
+
'width' => '',
|
308
|
+
|
309
|
+
'class' => '',
|
310
|
+
|
311
|
+
'id' => '',
|
312
|
+
|
313
|
+
),
|
314
|
+
|
315
|
+
'default_value' => '',
|
316
|
+
|
317
|
+
'placeholder' => '0000年00月00日(曜日)00:00~00:00',
|
318
|
+
|
319
|
+
'prepend' => '',
|
320
|
+
|
321
|
+
'append' => '',
|
322
|
+
|
323
|
+
'maxlength' => '',
|
324
|
+
|
325
|
+
),
|
326
|
+
|
327
|
+
array (
|
328
|
+
|
329
|
+
'key' => 'field_58533d2644f8e',
|
330
|
+
|
331
|
+
'label' => 'イベントのキャッチコピー',
|
332
|
+
|
333
|
+
'name' => 'event-set-catchcopy',
|
334
|
+
|
335
|
+
'type' => 'textarea',
|
336
|
+
|
337
|
+
'instructions' => '30字程度',
|
338
|
+
|
339
|
+
'required' => 0,
|
340
|
+
|
341
|
+
'conditional_logic' => 0,
|
342
|
+
|
343
|
+
'wrapper' => array (
|
344
|
+
|
345
|
+
'width' => '',
|
346
|
+
|
347
|
+
'class' => '',
|
348
|
+
|
349
|
+
'id' => '',
|
350
|
+
|
351
|
+
),
|
352
|
+
|
353
|
+
'default_value' => '',
|
354
|
+
|
355
|
+
'placeholder' => 'イベントのキャッチコピー',
|
356
|
+
|
357
|
+
'maxlength' => '',
|
358
|
+
|
359
|
+
'rows' => '',
|
360
|
+
|
361
|
+
'new_lines' => 'wpautop',
|
362
|
+
|
363
|
+
),
|
364
|
+
|
365
|
+
array (
|
366
|
+
|
367
|
+
'key' => 'field_58533d8344f8f',
|
368
|
+
|
369
|
+
'label' => 'イベントのイメージ画像',
|
370
|
+
|
371
|
+
'name' => 'event-set-image',
|
372
|
+
|
373
|
+
'type' => 'image',
|
374
|
+
|
375
|
+
'instructions' => '',
|
376
|
+
|
377
|
+
'required' => 0,
|
378
|
+
|
379
|
+
'conditional_logic' => 0,
|
380
|
+
|
381
|
+
'wrapper' => array (
|
382
|
+
|
383
|
+
'width' => '',
|
384
|
+
|
385
|
+
'class' => '',
|
386
|
+
|
387
|
+
'id' => '',
|
388
|
+
|
389
|
+
),
|
390
|
+
|
391
|
+
'return_format' => 'id',
|
392
|
+
|
393
|
+
'preview_size' => 'full',
|
394
|
+
|
395
|
+
'library' => 'all',
|
396
|
+
|
397
|
+
'min_width' => '',
|
398
|
+
|
399
|
+
'min_height' => '',
|
400
|
+
|
401
|
+
'min_size' => '',
|
402
|
+
|
403
|
+
'max_width' => '',
|
404
|
+
|
405
|
+
'max_height' => '',
|
406
|
+
|
407
|
+
'max_size' => '',
|
408
|
+
|
409
|
+
'mime_types' => '',
|
410
|
+
|
411
|
+
),
|
412
|
+
|
413
|
+
array (
|
414
|
+
|
415
|
+
'key' => 'field_58533e1544f90',
|
416
|
+
|
417
|
+
'label' => 'イベントの紹介文',
|
418
|
+
|
419
|
+
'name' => 'event-set-description',
|
420
|
+
|
421
|
+
'type' => 'textarea',
|
422
|
+
|
423
|
+
'instructions' => '150字程度',
|
424
|
+
|
425
|
+
'required' => 0,
|
426
|
+
|
427
|
+
'conditional_logic' => 0,
|
428
|
+
|
429
|
+
'wrapper' => array (
|
430
|
+
|
431
|
+
'width' => '',
|
432
|
+
|
433
|
+
'class' => '',
|
434
|
+
|
435
|
+
'id' => '',
|
436
|
+
|
437
|
+
),
|
438
|
+
|
439
|
+
'default_value' => '',
|
440
|
+
|
441
|
+
'placeholder' => 'イベントの紹介文',
|
442
|
+
|
443
|
+
'maxlength' => '',
|
444
|
+
|
445
|
+
'rows' => '',
|
446
|
+
|
447
|
+
'new_lines' => 'wpautop',
|
448
|
+
|
449
|
+
),
|
450
|
+
|
451
|
+
array (
|
452
|
+
|
453
|
+
'key' => 'field_58533e5b44f91',
|
454
|
+
|
455
|
+
'label' => 'イベントの会場',
|
456
|
+
|
457
|
+
'name' => 'event-set-place',
|
458
|
+
|
459
|
+
'type' => 'text',
|
460
|
+
|
461
|
+
'instructions' => '会場を入力してください',
|
462
|
+
|
463
|
+
'required' => 0,
|
464
|
+
|
465
|
+
'conditional_logic' => 0,
|
466
|
+
|
467
|
+
'wrapper' => array (
|
468
|
+
|
469
|
+
'width' => '',
|
470
|
+
|
471
|
+
'class' => '',
|
472
|
+
|
473
|
+
'id' => '',
|
474
|
+
|
475
|
+
),
|
476
|
+
|
477
|
+
'default_value' => '',
|
478
|
+
|
479
|
+
'placeholder' => 'イベントの会場',
|
480
|
+
|
481
|
+
'prepend' => '',
|
482
|
+
|
483
|
+
'append' => '',
|
484
|
+
|
485
|
+
'maxlength' => '',
|
486
|
+
|
487
|
+
),
|
488
|
+
|
489
|
+
array (
|
490
|
+
|
491
|
+
'key' => 'field_58533ed344f92',
|
492
|
+
|
493
|
+
'label' => 'イベントの受付開始・開催時間',
|
494
|
+
|
495
|
+
'name' => 'event-set-time',
|
496
|
+
|
497
|
+
'type' => 'textarea',
|
498
|
+
|
499
|
+
'instructions' => '',
|
500
|
+
|
501
|
+
'required' => 0,
|
502
|
+
|
503
|
+
'conditional_logic' => 0,
|
504
|
+
|
505
|
+
'wrapper' => array (
|
506
|
+
|
507
|
+
'width' => '',
|
508
|
+
|
509
|
+
'class' => '',
|
510
|
+
|
511
|
+
'id' => '',
|
512
|
+
|
513
|
+
),
|
514
|
+
|
515
|
+
'default_value' => '',
|
516
|
+
|
517
|
+
'placeholder' => '受付:00:00~、開場:00:00~00:00',
|
518
|
+
|
519
|
+
'maxlength' => '',
|
520
|
+
|
521
|
+
'rows' => '',
|
522
|
+
|
523
|
+
'new_lines' => 'wpautop',
|
524
|
+
|
525
|
+
),
|
526
|
+
|
527
|
+
array (
|
528
|
+
|
529
|
+
'key' => 'field_58533f3844f93',
|
530
|
+
|
531
|
+
'label' => 'イベントの参加費',
|
532
|
+
|
533
|
+
'name' => 'event-set-price',
|
534
|
+
|
535
|
+
'type' => 'textarea',
|
536
|
+
|
537
|
+
'instructions' => '',
|
538
|
+
|
539
|
+
'required' => 0,
|
540
|
+
|
541
|
+
'conditional_logic' => 0,
|
542
|
+
|
543
|
+
'wrapper' => array (
|
544
|
+
|
545
|
+
'width' => '',
|
546
|
+
|
547
|
+
'class' => '',
|
548
|
+
|
549
|
+
'id' => '',
|
550
|
+
|
551
|
+
),
|
552
|
+
|
553
|
+
'default_value' => '',
|
554
|
+
|
555
|
+
'placeholder' => '男性:0000円 女性:0000円',
|
556
|
+
|
557
|
+
'maxlength' => '',
|
558
|
+
|
559
|
+
'rows' => '',
|
560
|
+
|
561
|
+
'new_lines' => 'wpautop',
|
562
|
+
|
563
|
+
),
|
564
|
+
|
565
|
+
array (
|
566
|
+
|
567
|
+
'key' => 'field_58533fa144f94',
|
568
|
+
|
569
|
+
'label' => 'イベントの参加資格・人数',
|
570
|
+
|
571
|
+
'name' => 'event-set-shikaku',
|
572
|
+
|
573
|
+
'type' => 'textarea',
|
574
|
+
|
575
|
+
'instructions' => '',
|
576
|
+
|
577
|
+
'required' => 0,
|
578
|
+
|
579
|
+
'conditional_logic' => 0,
|
580
|
+
|
581
|
+
'wrapper' => array (
|
582
|
+
|
583
|
+
'width' => '',
|
584
|
+
|
585
|
+
'class' => '',
|
586
|
+
|
587
|
+
'id' => '',
|
588
|
+
|
589
|
+
),
|
590
|
+
|
591
|
+
'default_value' => '',
|
592
|
+
|
593
|
+
'placeholder' => '男性:○○が好きな独身社会人00名、女性:○○が好きな独身社会人00名',
|
594
|
+
|
595
|
+
'maxlength' => '',
|
596
|
+
|
597
|
+
'rows' => '',
|
598
|
+
|
599
|
+
'new_lines' => 'wpautop',
|
600
|
+
|
601
|
+
),
|
602
|
+
|
603
|
+
array (
|
604
|
+
|
605
|
+
'key' => 'field_5853402b44f95',
|
606
|
+
|
607
|
+
'label' => 'イベントの対象年齢',
|
608
|
+
|
609
|
+
'name' => 'event-set-age',
|
610
|
+
|
611
|
+
'type' => 'textarea',
|
612
|
+
|
613
|
+
'instructions' => '',
|
614
|
+
|
615
|
+
'required' => 0,
|
616
|
+
|
617
|
+
'conditional_logic' => 0,
|
618
|
+
|
619
|
+
'wrapper' => array (
|
620
|
+
|
621
|
+
'width' => '',
|
622
|
+
|
623
|
+
'class' => '',
|
624
|
+
|
625
|
+
'id' => '',
|
626
|
+
|
627
|
+
),
|
628
|
+
|
629
|
+
'default_value' => '',
|
630
|
+
|
631
|
+
'placeholder' => '男性:00歳~00歳、女性:00歳~00歳',
|
632
|
+
|
633
|
+
'maxlength' => '',
|
634
|
+
|
635
|
+
'rows' => '',
|
636
|
+
|
637
|
+
'new_lines' => 'wpautop',
|
638
|
+
|
639
|
+
),
|
640
|
+
|
641
|
+
array (
|
642
|
+
|
643
|
+
'key' => 'field_5853406744f96',
|
644
|
+
|
645
|
+
'label' => 'イベント参加受付',
|
646
|
+
|
647
|
+
'name' => 'event-set-join',
|
648
|
+
|
649
|
+
'type' => 'wysiwyg',
|
650
|
+
|
651
|
+
'instructions' => '',
|
652
|
+
|
653
|
+
'required' => 0,
|
654
|
+
|
655
|
+
'conditional_logic' => 0,
|
656
|
+
|
657
|
+
'wrapper' => array (
|
658
|
+
|
659
|
+
'width' => '',
|
660
|
+
|
661
|
+
'class' => '',
|
662
|
+
|
663
|
+
'id' => '',
|
664
|
+
|
665
|
+
),
|
666
|
+
|
667
|
+
'default_value' => '',
|
668
|
+
|
669
|
+
'tabs' => 'text',
|
670
|
+
|
671
|
+
'toolbar' => 'full',
|
672
|
+
|
673
|
+
'media_upload' => 1,
|
674
|
+
|
675
|
+
),
|
676
|
+
|
677
|
+
array (
|
678
|
+
|
679
|
+
'key' => 'field_585dfc2bb77b5',
|
680
|
+
|
681
|
+
'label' => '合番',
|
682
|
+
|
683
|
+
'name' => 'event-set-number',
|
684
|
+
|
685
|
+
'type' => 'text',
|
686
|
+
|
687
|
+
'instructions' => 'ソートのためのテスト',
|
688
|
+
|
689
|
+
'required' => 0,
|
690
|
+
|
691
|
+
'conditional_logic' => 0,
|
692
|
+
|
693
|
+
'wrapper' => array (
|
694
|
+
|
695
|
+
'width' => '',
|
696
|
+
|
697
|
+
'class' => '',
|
698
|
+
|
699
|
+
'id' => '',
|
700
|
+
|
701
|
+
),
|
702
|
+
|
703
|
+
'default_value' => '',
|
704
|
+
|
705
|
+
'placeholder' => '',
|
706
|
+
|
707
|
+
'prepend' => '',
|
708
|
+
|
709
|
+
'append' => '',
|
710
|
+
|
711
|
+
'maxlength' => '',
|
712
|
+
|
713
|
+
),
|
714
|
+
|
715
|
+
),
|
716
|
+
|
717
|
+
),
|
718
|
+
|
719
|
+
),
|
720
|
+
|
721
|
+
),
|
722
|
+
|
723
|
+
),
|
724
|
+
|
725
|
+
'location' => array (
|
726
|
+
|
727
|
+
array (
|
728
|
+
|
729
|
+
array (
|
730
|
+
|
731
|
+
'param' => 'page',
|
732
|
+
|
733
|
+
'operator' => '==',
|
734
|
+
|
735
|
+
'value' => '10',
|
736
|
+
|
737
|
+
),
|
738
|
+
|
739
|
+
),
|
740
|
+
|
741
|
+
),
|
742
|
+
|
743
|
+
'menu_order' => 0,
|
744
|
+
|
745
|
+
'position' => 'normal',
|
746
|
+
|
747
|
+
'style' => 'default',
|
748
|
+
|
749
|
+
'label_placement' => 'top',
|
750
|
+
|
751
|
+
'instruction_placement' => 'label',
|
752
|
+
|
753
|
+
'hide_on_screen' => '',
|
754
|
+
|
755
|
+
'active' => 1,
|
756
|
+
|
757
|
+
'description' => '',
|
758
|
+
|
759
|
+
));
|
760
|
+
|
761
|
+
|
762
|
+
|
763
|
+
endif;
|
170
764
|
|
171
765
|
```
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
###補足情報(ツール等のバージョンなど)
|
178
|
-
|
179
|
-
使用バージョン WordPress 4.7
|
180
|
-
|
181
|
-
テーマ 賢威7.0 クール版
|
182
|
-
|
183
|
-
Advanced Custom Fields PRO バージョン 5.4.3
|