Plugin Directory

Test out the new Plugin Directory and let us know what you think.
!This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Advanced Custom Field Widget

The Advanced Custom Field Widget is an extension of the Custom Field Widget by Scott Wallick, and displays values of custom field keys.


  • Fixed 'undefined constant' issue in widget control panel


  • Updated to reflect compatibility with WordPress 4.0


  • Added the ability of the widget to pass it's generated content through the WordPress shortcode processes


  • Fixed an issue with the content generator which was mis-handling line feeds, resulting the 'n' being displayed where a line feed should have been


  • Removed the version history from plugin file to try and resolve the plugin directory issues


  • Added Dutch translation - Thanks to Ronald van der Zwan for this translation


  • Fixed an issue with the 'Load all custom fields' functionality when the load all items option was not enabled


  • Re-encoded the files to try and resolve the problem with the plugin directory


  • Added an option to stop the field filters putting the content generator through the 'convert_chars' filter. When running with different locales, this appears to be converting some chars to entities (& to &) with the consequence that links were being broken
  • Added a shortcode for ACFW. Add [acfw id=""] to a post and the widget will be rendered in the post
  • Added a function for ACFW. Add acfw(id) to a theme and the widget will render directly in the theme
  • Added a custom siderbar to hold widgets for use by ACFW shortcode and function
  • Added a widget instance ID display to the configuration panel (this provides the widget instance ID's for use with the shortcode and theme rendering function)
  • Added enhanced separator functionality allowing users to specify a different separator for the last item and a list terminator


  • Fix to an error in the main loop query replacement code that was preventing the widget from displaying on pages with multiple posts


  • Added ability for widget to load all custom fields into variables $acfw_ for use in the content generator (main key field is still loaded in $acfw_content).
  • Removed previous version comments in an effort to tidy up the code base slightly.
  • Added ability to load values from multiple instances of specified fields. The separator used can also be specified.
  • Revised control panel layout to try and make it clearer. This has resulted in some major changes to the translation file.
  • Removed a deprecated function from the control panel, please check all configuration values after upgrading to this version to ensure that HTML entities etc. are properly stored.
  • Fixed an issue when using the widget within the main loop. The page would continue on and on as the widget resets the main query resulting in the loop not being able to find the end of the page/post list.
  • Added ability to process content generator as PHP script which should populate the variable '$content'.


  • Updated readme.txt to reflect support for WordPress version 3.0.1


  • Fixed problem when using widget with WordPress 2.9. Some widgets were being displayed when they had no content.


  • Fixed problem when using widget index functionality. Widgets which didn't have a source page provided by the list were repeating the first item in the list.


  • Widget index field added to widget control panel. This field allows you to have multiple widgets on the page all linked to the same custom field via the '-linkto' function. For more information, read the user guide.
  • Extra additional data fields ($data2 to $data5) added for use in the content generator.
  • Page title variable ($pagetitle) added for use in the content generator. The variable is loaded with the title for the page whose data is being displayed by the widget.
  • Content generator was leaving slashes in the generated content.


  • Added additional data field $data1 and the required configuration field to the widget control panel.


  • Added 'Content Generator' functionality.


  • Modified widget to reinitialise the $post variable to prevent it becoming 'corrupted' by other widgets which may have been rendered before the ACFW.


  • First version available via WordPress plugin directory.
  • Options are now only removed when the plugin is uninstalled (this is handled by 'uninstall.php').
  • Changed text domain for translation to 'acf_widget'.


  • Added '-linkto' processing allowing the content for a specific field to be provided by another page. This takes priority over the 'acfw-linkto' functionality.


  • Widget was only displaying content for posts (not pages). This was fixed in this version.
  • Added 'acfw-linkto' functionality to allow all widgets on a page to link to the same page.


  • Original version of Advanced Custom Field Widget. This is a seriously butchered version of the original Custom Field Widget by Scott Wallick.

Requires: 2.5 or higher
Compatible up to: 4.1.16
Last Updated: 2 years ago
Active Installs: 1,000+


4.3 out of 5 stars


Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,1,1
0,1,0 0,1,0 100,1,1
0,1,0 100,2,2
0,1,0 100,2,2 100,1,1
100,1,1 100,1,1
100,1,1 50,2,1 0,1,0 100,1,1 0,1,0 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1
100,1,1 100,1,1