I’ve got ACF included in a theme using this code:
// Load ACF Conditionally //
include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
if ( !is_plugin_active('advanced-custom-fields-pro/acf.php') ) {
include_once(TEMPLATEPATH . '/includes/libraries/advanced-custom-fields-pro/acf.php');
}
// Set the PATH
function fullsteam_ahead_acf_settings_path( $path ) {
$path = get_template_directory() . '/includes/libraries/advanced-custom-fields-pro/';
return $path;
}
add_filter('acf/settings/path', 'fullsteam_ahead_acf_settings_path');
// Set the DIR
function fullsteam_ahead_acf_settings_dir( $dir ) {
$dir = get_template_directory_uri() . '/includes/libraries/advanced-custom-fields-pro/';
// return
return $dir;
}
add_filter('acf/settings/dir', 'fullsteam_ahead_acf_settings_dir');
However, in the Custom Fields menu, I can’t access the field groups with the normal “Custom Fields” sub menu. All I see are “Import/Export” and “Updates”
Any ideas?
Ok, I’ve narrowed it down to a plugin conflict with CMS Tree Page View.
It is also documented here: http://support.advancedcustomfields.com/forums/topic/cms-tree-page-view-acf/