Support

Account

Forum Replies Created

  • 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
    });
  • @ WilliamH right on, this seems to be what was reference in this thread. Waiting to see if this helper function makes its way back into this version.

  • Paths on my live server are incorrect as well with ACF5 Pro included in theme. Console returns 404 errors for various admin-side js and css. This is the path being called:

    http://site.com/wp-content/plugins/home/user/public_html/wp-content/themes/dev/advanced-custom-fields-pro/inc/datepicker/jquery-ui-1.10.4.custom.min.css?ver=5.0.0

Viewing 3 posts - 1 through 3 (of 3 total)