Advanced Custom Fields (ACF)

Descrição

Advanced Custom Fields (ACF) turns WordPress sites into a fully-fledged content management system by giving you all the tools to do more with your data.

Use the ACF plugin to take full control of your WordPress edit screens, custom field data, and more.

Add fields on demand.
The ACF field builder allows you to quickly and easily add fields to WP edit screens with only the click of a few buttons! Whether it’s something simple like adding an “author” field to a book review post, or something more complex like the structured data needs of an ecommerce site or marketplace, ACF makes adding fields to your content model easy.

Add them anywhere.
Fields can be added all over WordPress including posts, pages, users, taxonomy terms, media, comments and even custom options pages! It couldn’t be simpler to bring structure to the WordPress content creation experience.

Show them everywhere.
Load and display your custom field values in any theme template file with our hassle-free, developer friendly functions! Whether you need to display a single value or generate content based on a more complex query, the out-of-the-box functions of ACF make templating a dream for developers of all levels of experience.

Any Content, Fast.
Turning WordPress into a true content management system is not just about custom fields. Creating new custom post types and taxonomies is an essential part of building custom WordPress sites. Registering post types and taxonomies is now possible right in the ACF UI, speeding up the content modeling workflow without the need to touch code or use another plugin.

Simply beautiful and intentionally accessible.
For content creators and those tasked with data entry, the field user experience is as intuitive as they could desire while fitting neatly into the native WordPress experience. Accessibility standards are regularly reviewed and applied, ensuring ACF is able to empower as close to anyone as possible.

Documentation and developer guides.
Over 10 plus years of vibrant community contribution alongside an ongoing commitment to clear documentation means that you’ll be able to find the guidance you need to build what you want.

Features

  • Simple & Intuitive
  • Powerful Functions
  • Over 30 Field Types
  • Extensive Documentation
  • Millions of Users

Links

PRO

The Advanced Custom Fields plugin is also available in a professional version which includes more fields, more functionality, and more flexibility. The ACF PRO plugin features:

  • The Repeater Field allows you to create a set of sub fields which can be repeated again, and again, and again.
  • ACF Blocks, a powerful PHP-based framework for developing custom block types for the WordPress Block Editor (aka Gutenberg).
  • Define, create, and manage content with the Flexible Content Field, which provides for multiple layout and sub field options.
  • Use the Options Page feature to add custom admin pages to edit ACF fields.
  • Build fully customisable image galleries with the Gallery Field.
  • Unlock a more efficient workflow for managing field settings by reusing existing fields and field groups on demand with the Clone Field.

Upgrade to ACF PRO

Imagens de tela

  • Simple & Intuitive

  • Made for Developers

  • All About Fields

  • Registering Custom Post Types

  • Registering Taxonomies

Instalação

From your WordPress dashboard

  1. Visit Plugins > Add New
  2. Search for “Advanced Custom Fields” or “ACF”
  3. Install and Activate Advanced Custom Fields from your Plugins page
  4. Click on the new menu item “ACF” and create your first custom field group, or register a custom post type or taxonomy.
  5. Read the documentation to get started

FAQ

What kind of support do you provide?

Support Forums. Our ACF 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 ACF developers to talk to one another, post ideas, plugins and provide basic help. View the Support Forum

Avaliações

29 de Fevereiro, 2024 1 reply
As in title. What's the point of adding custom fields that then won't show when used as dynamic tags?
7 de Fevereiro, 2024
Encore l'exemple d'un plugin qui fonctionnait bien et qui était stable, mais qui désormais prend ses utilisateurs pour des beta testeurs ! Les updates se succèdent parfois à quelques jours d'intervalle avec des fix successifs : c'est épuisant et peu respectueux du travail des agences qui passent de plus en plus de temps à effectuer ces mises à jour successives, juste parce que les développeurs ne prennent pas le temps de vérifier la stabilité et la compatibilité !
15 de Janeiro, 2024
I've been utilizing ACF Pro to develop some exciting projects, but I encountered a major error within WordPress. Thanks to the assistance of the WP Engine team, we identified the core issue and successfully resolved it. What's particularly noteworthy is that they provided support without initially pinpointing whether ACF Pro was the culprit or if it was caused by another plugin. As it turns out, the issue was indeed caused by another plugin.
9 de Janeiro, 2024
Ya me parecía maravilloso cuando podías añadir tus campos personalizados pero es que ahora también puedes crear y gestionar custom post types y taxonomías y tenerlo todo en un mismo lugar simplificando todo el ecosistema, como debería ser. Es un plugin que debería ser nativo de Wordpress.
Leia todas as 1.206 avaliações

Contribuidores e desenvolvedores

“Advanced Custom Fields (ACF)” é um software com código aberto. As seguintes pessoas contribuíram para este plugin.

Contribuidores

“Advanced Custom Fields (ACF)” foi traduzido para 30 localidades. Obrigado aos tradutores por suas contribuições.

Traduzir “Advanced Custom Fields (ACF)” para o seu idioma.

Interessado no desenvolvimento?

Navegue pelo código, dê uma olhada no repositório SVN ou assine o registro de desenvolvimento via RSS.

Registro de alterações

6.2.7

Release Date 27th February 2024

  • Security Fix – the_field now escapes potentially unsafe HTML as notified since ACF 6.2.5. For full information, please read the release blog post
  • Security Fix – Field and Layout names are now enforced to alphanumeric characters, resolving a potential XSS issue
  • Security Fix – The default render template for select2 fields no longer allows HTML to be rendered resolving a potential XSS issue
  • Security Enhancement – A acf/shortcode/prevent_access filter is now available to limit what data the ACF shortcode is allowed to access
  • Security Enhancement – i18n translated strings are now escaped on output
  • Enhancement – ACF now universally uses WordPress file system functions rather than native PHP functions

6.2.6.1

Release Date 7th February 2024

  • Fix – Fatal JS error no longer occurs when editing fields in the classic editor when Yoast or other plugins which load block editor components are installed
  • Fix – Using $escape_html on get functions for array returning field types no longer produces an Array to string conversion error

6.2.6

Release Date 6th February 2024

  • Enhancement – The get_field() and other get_ functions now support an escape_html parameter which return an HTML safe field value
  • Enhancement – The URL field will be now escaped with esc_url rather than wp_kses_post when returning an HTML safe value
  • Fix – ACF fields will now correctly save into the WordPress created revision resolving issues with previews of drafts on WordPress 6.4 or newer
  • Fix – Multisite subsites will now correctly be activated by the main site where the ACF PRO license allows, hiding the updates page on those subsites
  • Fix – Field types in which the required property would have no effect (such as the tab, or accordion) will no longer show the option
  • Fix – Duplicating a field group now maintains the current page of field groups being displayed
  • Fix – Fields in ACF Blocks in edit mode in hybrid themes will now use ACF’s styling, rather than some attributes being overridden by the theme
  • Fix – Text in some admin notices will no longer overlap the dismiss button
  • Fix – The word link is now prohibited from being used as a CPT name to avoid a WordPress core conflict
  • Fix – Flexible content layouts can no longer be duplicated over their maximum count limit
  • Fix – All ACF notifications shown outside of ACF’s admin screens are now prefixed with the plugin name
  • Fix – ACF no longer checks if a polyfill is needed for <PHP7 and the polyfill has been removed

6.2.5

Release Date 16th January 2024

  • Security Fix – The ACF shortcode will now run all output through wp_kses, escaping unsafe HTML. This may be a breaking change to your site but is required for security, a message will be shown in WordPress admin if you are affected. Please see the blog post for this release for more information. Thanks to Francesco Carlucci via Wordfence for the responsible disclosure
  • Security – ACF now warns via an admin message, when upcoming changes to the_field and the_sub_field may require theme changes to your site to avoid stripping unsafe HTML. Please see the blog post for this release for more information
  • Security – Users may opt in to automatically escaping unsafe HTML via a new filter acf/the_field/escape_html_optin when using the_field and the_sub_field before this becomes default in an upcoming ACF release.

6.2.4

Release Date 28th November 2023

  • Fix – Custom Post Types labels now match the WordPress 6.4 behavior for “Add New” labels
  • Fix – When exporting both post types and taxonomies as PHP, taxonomies will now appear before post types, matching the order ACF registers them. This resolves issues where taxonomy slugs will not work in post type permalinks
  • Fix – Advanced Settings for Taxonomies, Post Types or Options Pages now display with the correct top padding when toggled on
  • Fix – When a parent option page is set to “Redirect to Child Page”, the child page will now correctly show it’s parent setting
  • Fix – When activated as a must-use plugin, the ACF PRO “Updates” page is now visible. Use the existing show_updates setting to hide
  • Fix – When activated as a must-use plugin, ACF PRO licenses defined in code will now correctly activate sites
  • Fix – When show_updates is set or filtered to false, ACF PRO will now automatically still activate defined licenses
  • i18n – Maintenance and internal upstream messages from the ACF PRO activation server are now translatable

6.2.3

Release Date 15th November 2023

  • View Release Post
  • New – An ACF Blocks specific JSON schema for block.json is now available on GitHub
  • New – Flexible Content fields now show the layout name in the layout’s header bar and supports click-to-copy
  • New – Duplicating Flexible Content layouts now appends “Copy” to their name and label, matching the behavior of field group duplication
  • Enhancement – ACF PRO will now automatically attempt license reactivation when the site URL changes, e.g. after a site migration. This resolves issues where updates may fail
  • Enhancement – Presentation setting for “High” placement of the Field Group made clear that it’s not supported in the block editor
  • Fix – acf_format_date now ensures the date parameter is valid to prevent fatal errors if other data types are passed in
  • Fix – CPTs with a custom icon URL now display the posts icon in the location column of the field groups screen
  • Fix – The ACF JSON import form will now disable on first submit resolving an issue where you could submit the form twice
  • Fix – The “Add Row” button in the Flexible Content field now displays correctly when using nested layouts
  • Fix – Warning and Error notices no longer flicker on ACF admin pages load
  • i18n – ACF PRO license activation success and error messages are now translatable

6.2.2

Release Date 25th October 2023

  • Enhancement – ACF Blocks which have not been initialized by the editor will now render correctly
  • Enhancement – Added a new acf/filesize filter to allow third party media plugins to bypass ACF calling filesize() on attachments with uncached file sizes, which may result in a remote download if offloaded
  • Enhancement – ACF PRO license status and subscription expiry dates are now displayed on the “Updates” page
  • Fix – Product pages for WooCommerce version 8.2 or newer now correctly support field group location rules
  • Fix – Relationship field items can now be removed on mobile devices
  • Fix – Color picker fields no longer autocomplete immediately after typing 3 valid hex characters
  • Fix – Field settings no longer appear misaligned when the viewport is something other than 100%
  • Fix – Select fields without an aria-label no longer throw a warning
  • Fix – CPTs and Taxonomies with a custom text domain now export correctly when using PHP export

6.2.1.1

Release Date 8th September 2023

  • Fix – Editing a field group no longer generates an error when UI options pages are disabled

6.2.1

Release Date 7th September 2023

  • New – Options Pages created in the admin UI can now be assigned as child pages for any top-level menu item
  • New – Added a “Title Placeholder” setting to ACF Post Types which filters the “Add title” text when editing posts
  • Enhancement – ACF PRO will now warn when it can’t update due to PHP version incompatibilities
  • Enhancement – ACF PRO will now work correctly with WordPress automatic updates
  • Enhancement – The internal ACF Blocks template attribute parser function parseNodeAttr can now be shortcut with the new acf_blocks_parse_node_attr filter.
  • Enhancement – Removed legacy code for supporting WordPress versions under 5.8
  • Fix – The “Menu Position” setting is no longer hidden for child options pages
  • Fix – The tabs for the “Advanced” settings in Post Types and Taxonomies are now rendered inside a wrapper div
  • Fix – Options pages will no longer display as a child page in the list view when set to a top level page after previously being a child
  • Fix – Conflict with Elementor CSS breaking the ACF PRO banner
  • Fix – Errors generated during the block editor’s savePost function will no longer be caught and ignored by ACF

6.2.0

Release Date 9th August 2023

  • View Release Post
  • New – ACF now requires WordPress version 5.8 or newer, and PHP 7.0 or newer. View the release post for more information
  • New – Bidirectional Relationships now supported for Relationship, Post Object, User and Taxonomy fields. View the release post for more information
  • New – Options Pages can now be registered and managed by the admin UI in ACF PRO