From f661bc65f35fc2fb49f5d6a3f910ef80118c601c Mon Sep 17 00:00:00 2001 From: Cassowary Rusnov Date: Fri, 2 Dec 2022 09:56:13 -0800 Subject: [PATCH] Fix getting fonts css. --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.php b/functions.php index e5998c9..4a387a7 100644 --- a/functions.php +++ b/functions.php @@ -15,7 +15,7 @@ function etcskel32m_enqueue_styles() { $theme->get( 'Version' ) ); // fonts - wp_enqueue_style( 'etcskel32m-fonts', get_stylesheet_uri() . '/assets/fonts/ConcourseOT/concourseot.css', false ); + wp_enqueue_style( 'etcskel32m-fonts', get_stylesheet_directory_uri() . '/assets/fonts/ConcourseOT/concourseot.css', false ); } add_action( 'wp_enqueue_scripts', 'my_custom_fonts' );