mirror of https://github.com/vtrois/kratos
fix: replace bootstrap resource
parent
8f12141c74
commit
00941a00a8
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -50,7 +50,7 @@ function theme_autoload()
|
|||
// js
|
||||
wp_deregister_script('jquery');
|
||||
wp_enqueue_script('jquery', ASSET_PATH . '/assets/js/jquery.min.js', array(), '3.4.1', false);
|
||||
wp_enqueue_script('bootstrap', ASSET_PATH . '/assets/js/bootstrap.min.js', array(), '4.5.0', true);
|
||||
wp_enqueue_script('bootstrap-bundle', ASSET_PATH . '/assets/js/bootstrap.bundle.min.js', array(), '4.5.0', true);
|
||||
wp_enqueue_script('layer', ASSET_PATH . '/assets/js/layer.min.js', array(), '3.1.1', true);
|
||||
wp_enqueue_script('kratos', ASSET_PATH . '/assets/js/kratos.min.js', array(), THEME_VERSION, true);
|
||||
wp_enqueue_script('custom', get_template_directory_uri() . '/custom/custom.js', array(), THEME_VERSION, true);
|
||||
|
@ -180,4 +180,4 @@ if (kratos_option('g_removeimgsize', false)) {
|
|||
return $sizes;
|
||||
}
|
||||
add_filter('intermediate_image_sizes_advanced', 'remove_default_images');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue