如果将它们导出到PHP,如何使WordPress高级自定义字段显示在WordPress仪表板上

我有一个由顾问几年前构建的自定义Wordpress主题。主题使用”高级自定义字段”和”自定义帖子类型”。问题在于字段组没有显示在Wordpress仪表板中。我假设顾问使用ACF导出功能来优化加载时间并进行源代码控制。我知道我可以手动编辑字段组, 但是我需要知道是否可以在没有ACF JSON导出文件的情况下将这些字段组”导入”回Wordpress ACF仪表板。

ACF文档说, 你可以使用以下功能在仪表板上隐藏ACF, 但是functions.php文件中不包含此功能。

add_filter(‘acf / settings / show_admin’, ‘__return_false’);


#1


我想我在以下网站上找到了自己的答案:awesomeacf.com

此过程似乎不适用于自定义帖子类型, 但适用于字段组。

来源:

https://www.srcmini02.com/63358.html

微信公众号
手机浏览(小程序)

Warning: get_headers(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57

Warning: get_headers(): Failed to enable crypto in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57

Warning: get_headers(https://static.shanhubei.com/qrcode/qrcode_viewid_37639.jpg): failed to open stream: operation failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57
0
分享到:
没有账号? 忘记密码?