From 68c2f51c895a375900e642bb20e127825937e19d Mon Sep 17 00:00:00 2001 From: Jacob Haddon Date: Fri, 16 Nov 2018 09:39:34 -0500 Subject: [PATCH] fixed the function for enqueing scripts --- functions.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/functions.php b/functions.php index d65516f..c017444 100644 --- a/functions.php +++ b/functions.php @@ -2,7 +2,9 @@ // function file for mfwpt -// enque style.css -wp_enqueue_style( 'style', get_stylesheet_uri() ); +function mytheme_enqueue_style() { + wp_enqueue_style( 'style', get_stylesheet_uri() ); +} +add_action( 'wp_enqueue_scripts', 'mytheme_enqueue_style' ); ?> \ No newline at end of file