diff --git a/inc/setup/scripts.php b/inc/setup/scripts.php index 46e6c006..be4e5ccc 100644 --- a/inc/setup/scripts.php +++ b/inc/setup/scripts.php @@ -13,7 +13,7 @@ * @author WebDevStudios */ function scripts() { - $asset_file_path = dirname( __DIR__ ) . '/build/index.asset.php'; + $asset_file_path = get_template_directory() . '/build/index.asset.php'; if ( is_readable( $asset_file_path ) ) { $asset_file = include $asset_file_path;