Update enqueue.php
This commit is contained in:
parent
9f848d858f
commit
705bd724d9
|
@ -19,7 +19,7 @@ if ( ! function_exists( 'understrap_scripts' ) ) {
|
||||||
$theme_version = $the_theme->get( 'Version' );
|
$theme_version = $the_theme->get( 'Version' );
|
||||||
|
|
||||||
$css_version = $theme_version . '.' . filemtime( get_template_directory() . '/css/theme.min.css' );
|
$css_version = $theme_version . '.' . filemtime( get_template_directory() . '/css/theme.min.css' );
|
||||||
wp_enqueue_style( 'understrap-styles', get_template_directory() . '/css/theme.min.css', array(), $css_version );
|
wp_enqueue_style( 'understrap-styles', get_template_directory_uri() . '/css/theme.min.css', array(), $css_version );
|
||||||
|
|
||||||
wp_enqueue_script( 'jquery' );
|
wp_enqueue_script( 'jquery' );
|
||||||
|
|
||||||
|
|
Reference in New Issue