我已将我WordPress
的从 4.6.x 更新到 5.2.1。我还将插件ACF Pro
从 4.xx 更新到 5.8.1。
从那时起,ACF
“中继器”类型的标签不再起作用:它们不再出现在管理面板和应用程序前面。其他标签效果很好。
我不知道为什么。你有想法吗 ?
{
"key": "field_56f04b4f1d998",
"label": "Layouts",
"name": "layouts",
"type": "repeater",
"instructions": "",
"required": 0,
"conditional_logic": [],
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"collapsed": "",
"min": "",
"max": "",
"layout": "block",
"button_label": "Add layout",
"sub_fields": [
{
"key": "field_573c2f5d67d89",
"label": "Type",
"name": "type",
"type": "select",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"choices": {
"layout100": "1\/1",
"layout100_full": "1\/1 full",
"layout5050": "1\/2 + 1\/2",
"layout3366": "1\/3 + 2\/3",
"layout6633": "2\/3 + 1\/3"
},
"default_value": [
0
],
"allow_null": 0,
"multiple": 0,
"ui": 0,
"ajax": 0,
"return_format": "value",
"placeholder": ""
},
{
"key": "field_5a266ce145c75",
"label": "Border top ?",
"name": "border_top",
"type": "true_false",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"message": "",
"default_value": 1
}
]
}