From 2671c8fcc3f926ed5be17654fc90b05dd82cbe63 Mon Sep 17 00:00:00 2001 From: agata <automa@insicuri.net> Date: Fri, 20 Dec 2019 21:13:45 +0100 Subject: [PATCH] fix typo twentynineteen-child --- wp-content/themes/twentynineteen-child/functions.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/wp-content/themes/twentynineteen-child/functions.php b/wp-content/themes/twentynineteen-child/functions.php index 773231470..1d013a65f 100644 --- a/wp-content/themes/twentynineteen-child/functions.php +++ b/wp-content/themes/twentynineteen-child/functions.php @@ -4,9 +4,9 @@ */ add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles' ); function my_theme_enqueue_styles() { - - $parent_style = 'parent-style'; // This is 'twentyfifteen-style' for the Twenty Fifteen theme. - + + $parent_style = 'parent-style'; // This is 'twentynineteen-style' for the Twenty Nineteen theme. + wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.css' ); wp_enqueue_style( 'child-style', get_stylesheet_directory_uri() . '/style.css', @@ -14,5 +14,3 @@ function my_theme_enqueue_styles() { wp_get_theme()->get('Version') ); } - - -- GitLab