Advanced Custom Fields

Mô tả

Use the Advanced Custom Fields plugin to take full control of your WordPress edit screens & custom field data.

Add fields on demand. Our field builder allows you to quickly and easily add fields to WP edit screens with only the click of a few buttons!

Add them anywhere. Fields can be added all over WP including posts, users, taxonomy terms, media, comments and even custom options pages!

Show them everywhere. Load and display your custom field values in any theme template file with our hassle free developer friendly functions!

Tính năng

  • Simple & Intuitive
  • Powerful Functions
  • Hơn 30 kiểu Field
  • Tài liệu hướng dẫn mở rộng
  • Hàng triệu người dùng



Plugin Advanced Custom Fields có sẵn phiên bản cao cấp với nhiều field hơn, nhiều tính năng hơn và linh hoạt hơn! Tìm hiểu thêm

Ảnh màn hình

  • Đơn giản & Trực quan

  • Thiết kế cho Developer

  • Tất cả về field

Cài đặt

Từ bảng tin WordPress

  1. Truy cập Plugin > Cài mới
  2. Tìm “Advanced Custom Fields”
  3. Kích hoạt Advanced Custom Fields từ trang Plugin.
  4. Bấm vào menu “Custom Fields” và tạo Custom Field Group đầu tiên!
  5. Đọc tài liệu hướng dẫn để bắt đầu

Hỏi đáp

Bạn cung cấp kiểu hỗ trợ nào?

Help Desk. Support is currently provided via our email help desk. Questions are generally answered within 24 hours, with the exception of weekends and holidays. We answer questions related to ACF, its usage and provide minor customization guidance. We cannot guarantee support for questions which include custom theme code, or 3rd party plugin conflicts & compatibility. Open a Support Ticket

Support Forums. Our Community Forums provide a great resource for searching and finding previously answered and asked support questions. You may create a new thread on these forums, however, it is not guaranteed that you will receive an answer from our support team. This is more of an area for developers to talk to one another, post ideas, plugins and provide basic help. View the Support Forum

Đánh giá

27 Tháng Một, 2020
I couldn't have built the site I'm working on without it. Added an ACF to a plugin post type, and the problem I had disappeared.
24 Tháng Một, 2020
This is just perfect. The interface makes a complex process seem simple, and it works. Without reading any of the directions or documentation, in a couple of minutes, I was able to create a test custom field and add it to a WordPress template, and it all worked. Thank you!
Đọc tất cả 1.080 đánh giá

Người đóng góp & Lập trình viên

“Advanced Custom Fields” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

“Advanced Custom Fields” đã được dịch qua 11 ngôn ngữ. Cảm ơn những người tham gia dịch vì đóng góp của họ.

Dịch “Advanced Custom Fields” sang ngôn ngữ của bạn.

Muốn tham gia phát triển?

Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.

Nhật ký thay đổi


Release Date – 12 November 2019

  • New – Updated admin CSS for new WordPress 5.3 styling.
  • Fix – Fixed various issues affecting dynamic metaboxes in the block editor (requires WordPress 5.3)
  • Fix – Fixed performance issue when checking network sites for upgrades.
  • Fix – Fixed Select2 clones appearing after duplicating a Relationship field.
  • Tweak – Repeater field “Add row” icons will now hide when maximum rows are reached.
  • Tweak – Removed ACF Blocks keyword limit for later versions of Gutenberg.


Release Date – 24 October 2019

  • New – Added more data to Google Maps field value including place_id, street_name, country and more.
  • Fix – Fixed bug in Gallery field incorrectly displaying .pdf attachments as icons.
  • Fix – Fixed bug in Checkbox field missing “selected” class after “Toggle All”.
  • Dev – Added compatibility for Attachments in the Post Taxonomy location rule.
  • Dev – Added missing return statement from acf_get_form() function.
  • Dev – Added “google_map_result” JS filter.


Release Date – 8 October 2019

  • New – Added new choice “Add” to the User Form location rule.
  • New – Optimized acf_form() logic when used in combination with acf_register_form().
  • Fix – Fixed bug causing incorrect field order after sync.
  • Fix – Fixed bug reverting the first field type to Text in Firefox version 69.0.1.
  • Fix – Fixed bug causing tinymce issues when changing between block modes.
  • Fix – Fixed bug preventing block registration when category does not exist.
  • Fix – Fixed bug preventing block registration when no icon is declared.
  • Dev – Added RegExp compatibility for innerBlocks.


Release Date – 3 September 2019

  • New – Optimized Relationship field by delaying AJAX call until UI is visible.
  • Fix – Fixed bug incorrectly escaping HTML in the Link field title.
  • Fix – Fixed bug showing Discussion and Comment metaboxes for newly imported field groups.
  • Fix – Fixed PHP warning when loading meta from Post 0.
  • Dev – Ensure Checkbox field value is an array even when empty.
  • Dev – Added new ACF_MAJOR_VERSION constant.


Release Date – 7 August 2019

  • Tweak – Changed Options Page location rules to show “page_title” instead of “menu_title”.
  • Fix – Fixed bug causing Textarea field to incorrectly validate maxlength.
  • Fix – Fixed bug allowing Range field values outside of the min and max settings.
  • Fix – Fixed bug in block RegExp causing some blocks to miss the “acf/pre_save_block” filter.
  • Dev – Added $block_type parameter to block settings “enqueue_assets” callback.
  • i18n – Added French Canadian language thanks to Bérenger Zyla.
  • i18n – Updated French language thanks to Bérenger Zyla.


Release Date – 15 July 2019

  • Fix – Fixed bug where validation did not prevent new user registration.
  • Fix – Fixed bug causing some “reordered” metaboxes to not appear in the Gutenberg editor.
  • Fix – Fixed bug causing WYSIWYG field with delayed initialization to appear blank.
  • Fix – Fixed bug when editing a post and adding a new tag did not refresh metaboxes.
  • Dev – Added missing $value parameter in “acf/pre_format_value” filter.


Release Date – 3 June 2019

  • New – Added “Preview Size” and “Return Format” settings to the Gallery field.
  • Tweak – Improved metabox styling for Gutenberg.
  • Tweak – Changed default “Preview Size” to medium for the Image field.
  • Fix – Fixed bug in media modal causing the primary button text to disappear after editing an image.
  • Fix – Fixed bug preventing the TinyMCE Advanced plugin from adding < p > tags.
  • Fix – Fixed bug where HTML choices were not visible in conditional logic dropdown.
  • Fix – Fixed bug causing incorrect order of imported/synced flexible content sub fields.
  • i18n – Updated German translation thanks to Ralf Koller.
  • i18n – Đã cập nhật bản dịch Tiếng Ba Tư nhờ Majix.


Ngày phát hành – 8 Tháng 5 2019

  • New – Added ACF Blocks feature for ACF PRO.
  • Fix – Fixed bug causing duplicate “save metabox” AJAX requests in the Gutenberg editor.
  • Fix – Fixed bug causing incorrect Repeater field value order in AJAX requests.
  • Dev – Added JS filter 'relationship_ajax_data' to customize Relationship field AJAX data.
  • Dev – Added $field_group parameter to 'acf/location/match_rule' filter.
  • Dev – Bumped minimum supported PHP version to 5.4.0.
  • Dev – Bumped minimum supported WP version to 4.7.0.
  • i18n – Updated German translation thanks to Ralf Koller.
  • i18n – Cập nhật tiếng Bồ Đào Nha bởi Pedro Mendonça.


Ngày phát hành – 6 Tháng 3 2019

  • Fix – Fixed bug causing issues with registered fields during switch_to_blog().
  • Fix – Fixed bug preventing sub fields from being reused across multiple parents.
  • Fix – Fixed bug causing the get_sub_field() function to fail if a tab field exists with the same name as the selected field.
  • Fix – Fixed bug corrupting field settings since WP 5.1 when instructions contain < a target="" >.
  • Fix – Fixed bug in Gutenberg where custom metabox location (acf_after_title) did not show on initial page load.
  • Fix – Fixed bug causing issues when importing/syncing multiple field groups which contain a clone field.
  • Fix – Fixed bug preventing the AMP plugin preview from working.
  • Dev – Added new ‘pre’ filters to get, update and delete meta functions.
  • i18n – Cập nhật Tiếng Thổ Nhĩ Kỳ bởi Emre Erkan.


Ngày phát hành – 15 Tháng 2 2019

  • Fix – Added missing function register_field_group().
  • Fix – Fixed PHP 5.4 error “Can’t use function return value in write context”.
  • Fix – Fixed bug causing wp_options values to be slashed incorrectly.
  • Fix – Fixed bug where “sync” feature imported field groups without fields.
  • Fix – Fixed bug preventing get_field_object() working with a field key.
  • Fix – Fixed bug causing incorrect results in get_sub_field().
  • Fix – Fixed bug causing draft and preview issues with serialized values.
  • Fix – Fixed bug causing reversed field group metabox order.
  • Fix – Fixed bug causing incorrect character count when validating values.
  • Fix – Fixed bug showing incorrect choices for post_template location rule.
  • Fix – Fixed bug causing incorrect value retrieval after switch_to_blog().
  • i18n – Đã cập nhật bản dịch Tiếng Ba Tư nhờ Majix.


Ngày phát hành – 11 Tháng 2 2019

  • New – Added support for persistent object caching.
  • Sửa – Đã sửa lỗi PHP ở determine_locale() ảnh hưởng tới request AJAX.
  • Fix – Fixed bug affecting dynamic metabox check when selecting “default” page template.
  • Fix – Fixed bug where tab fields did not render correctly within a dynamic metabox.
  • Tweak – Removed language fallback from “zh_TW” to “zh_CN”.
  • Dev – Refactored various core functions.
  • Dev – Added new hook variation functions acf_add_filter_variations() and acf_add_action_variations().
  • i18n – Cập nhật tiếng Bồ Đào Nha bởi Pedro Mendonça.
  • i18n – Updated German translation thanks to Ralf Koller.
  • i18n – Đã cập nhật bản dịch Tiếng Đức Thụy Sĩ nhờ Raphael Hüni.


Release Date – 16 January 2019

  • Fix – Fixed bug preventing metaboxes from saving if validation fails within Gutenberg.
  • Fix – Fixed bug causing unload prompt to show incorrectly within Gutenberg.
  • Fix – Fixed JS error when selecting taxonomy terms within Gutenberg.
  • Fix – Fixed bug causing jQuery sortable issues within other plugins.
  • Tweak – Improved loading translations by adding fallback from region to country when .mo file does not exit.
  • Tweak – Improved punctuation throughout admin notices.
  • Tweak – Improved performance and accuracy when loading a user field value.
  • Dev – Added filter ‘acf/get_locale’ to customize the locale used to load translations.
  • Dev – Added filter ‘acf/allow_unfiltered_html’ to customize if current user can save unfiltered HTML.
  • Dev – Added new data storage functions acf_register_store() and acf_get_store().
  • Dev – Moved from .less to .scss and minified all css.
  • i18n – Updated French translation thanks to Maxime Bernard-Jacquet.
  • i18n – Updated Czech translation thanks to David Rychly.


Release Date – 17 December 2018

  • Fix – Added custom metabox location (acf_after_title) compatibility with Gutenberg.
  • Fix – Added dynamic metabox check compatibility with Gutenberg.
  • Fix – Fixed bug causing required date picker fields to prevent form submit.
  • Fix – Fixed bug preventing multi-input values from saving correctly within media modals.
  • Fix – Fixed bug where acf_form() redirects to an incorrect URL for sub-sites.
  • Fix – Fixed bug where breaking out of a sub have_rows() loop could produce undesired results.
  • Dev – Added filter ‘acf/connect_attachment_to_post’ to prevent connecting attachments to posts.
  • Dev – Added JS filter ‘google_map_autocomplete_args’ to customize Google Maps autocomplete settings.


Ngày phát hành – 7 Tháng 12 2018

  • Sửa – Đã sửa lỗ hổng cho phép tác giả lưu giá trị HTML chưa được lọc.
  • Sửa – Sửa toàn bộ metabox xuất hiện khi sửa bài viết trong WP 5.0.
  • i18n – Cập nhật tiếng Ba Lan bởi Dariusz Zielonka.
  • i18n – Cập nhật tiếng Séc bởi Veronika Hanzlíková.
  • i18n – Cập nhật Tiếng Thổ Nhĩ Kỳ bởi Emre Erkan.
  • i18n – Cập nhật tiếng Bồ Đào Nha bởi Pedro Mendonça.


Ngày phát hành – 1 Tháng 10 2018

  • Fix – Fixed various plugin update issues.
  • Tinh chỉnh – Đã thêm ‘language’ vào url Google Maps API.
  • Dev – Major improvements to the acf.models.Postbox model.
  • Dev – Đã thêm filter JS ‘check_screen_args’.
  • Dev – Đã thêm action JS ‘check_screen_complete’.
  • Dev – Đã thêm action ‘acf/options_page/submitbox_before_major_actions’.
  • Dev – Đã thêm action ‘acf/options_page/submitbox_major_actions’.
  • i18n – Cập nhật tiếng Bồ Đào Nha bởi Pedro Mendonça


Ngày phát hành – 12 Tháng Chín 2018

  • Fix – Fixed unload prompt not working.
  • Dev – Reduced number of queries needed to populate the relationship field taxonomy filter.
  • Dev – Đã thêm ‘nav_menu_item_id’ và ‘nav_menu_item_depth’ vào get_field_groups().
  • Dev – Reordered various actions and filters for more usefulness.
  • i18n – Cập nhật tiếng Ba Lan bởi Dariusz Zielonka

View the full changelog