Update enqueue.php

This commit is contained in:
Holger Koenemann 2019-04-14 07:01:02 +02:00
parent 9f848d858f
commit 705bd724d9
1 changed files with 1 additions and 1 deletions

View File

@ -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' );