Home Forums ACF PRO ACF 5 PRO Wonky Admin Styles Reply To: ACF 5 PRO Wonky Admin Styles

  • Thanks Elliot. To help clarify, I’ve added this to functions.php to allow for various environments, then included the plugin/options as described in the docs.

    add_filter('acf/settings/dir', function( $dir ){
      return get_template_directory_uri() . '/advanced-custom-fields-pro/';
    add_filter('acf/settings/path', function( $path ){
      return get_theme_root() . '/' . get_template() . '/advanced-custom-fields-pro/';
    add_filter('acf/settings/show_admin', function( $path ){
      return true; // Set false to hide UI in admin