ACF PRO 包含额外的字段和功能以更好地开发网站,包括 PHP 块、可重复字段、页面构建工具、媒体库和自定义选项页面。ACF PRO 字段构建器允许您只需单击几个按钮即可快速轻松地将字段添加到 WP 编辑屏幕!可以在整个 WP 中添加字段,包括帖子、用户、分类术语、媒体、评论甚至自定义选项页面!在任何主题模板文件中加载和显示您的自定义字段值!
当前Advanced Custom Fields (ACF) Pro版本更新功能:
发布日期 2022 年 12 月 13 日
- 查看发布帖子
- 新功能 – 灵活内容字段现在在编辑布局时具有新的管理员用户体验
- 新功能 – 现在可以通过新的“字段设置选项卡”屏幕选项或新的
acf/field_group/disable_field_settings_tabs
过滤器 - 改进 – 常规字段设置选项卡现在在打开字段时默认选中
- 修复 – 子字段不再由其父字段初始化,解决了字段组包含许多嵌套子字段时的性能问题
- 修复 – 前端表单现在在点击后禁用提交按钮以防止多次提交
- 修复 – 未知字段类型不再在字段组编辑器中显示损坏的 HTML
- 修复 – 通过
acf/blocks/no_fields_assigned_message
过滤器返回空字符串将不再导致未分配字段的块具有额外的包装 div - 修复 – 启用了 WPML 的站点不再因许可证错误而遇到失败的 ACF 更新
- 修复 – 使用 RTL 语言时带有图标的按钮不再有显示问题
Release Date 13th December 2022
- View Release Post
- New – Flexible Content field now has a new admin user experience when editing layouts
- New – Tabs for field settings in the field group editor can now be disabled via a new “Field Settings Tabs” screen option or with the new
acf/field_group/disable_field_settings_tabs
filter - Improvement – General field settings tab now selected by default when a field is opened
- Fix – Sub fields are no longer initialized by their parent, resolving performance issues when field groups contain many nested sub fields
- Fix – Frontend forms now disable the submit button after click to prevent multiple submissions
- Fix – Unknown field types no longer display broken HTML in the field group editor
- Fix – Returning an empty string via the
acf/blocks/no_fields_assigned_message
filter will no longer result in blocks without fields assigned having an extra wrapping div - Fix – Sites with WPML enabled no longer experience failed ACF updates due to license errors
- Fix – Buttons featuring icons no longer have display issues when using RTL languages