From c03acb52aa7c037d3cca84f24b3b497c20acda94 Mon Sep 17 00:00:00 2001 From: Jacob Haddon Date: Fri, 27 Mar 2020 15:28:15 -0400 Subject: [PATCH] added in melville_theme_styles function to enqueue the styles, removing an issue where they were affecting admin --- functions.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/functions.php b/functions.php index 6ab5a2d..2833356 100644 --- a/functions.php +++ b/functions.php @@ -5,7 +5,11 @@ // enqueue styles -wp_enqueue_style( 'style', get_stylesheet_uri() ); + +function melville_theme_styles(){ + wp_enqueue_style( 'style', get_stylesheet_uri() ); +} +add_action( 'wp_enqueue_scripts', 'melville_theme_styles' ); //include 'plugins/drop-caps/wp_drop_caps.php'; if (!function_exists('arl_kottke_archives')) {