diff --git a/inc/roots-actions.php b/inc/roots-actions.php index b03ca66..3004590 100644 --- a/inc/roots-actions.php +++ b/inc/roots-actions.php @@ -73,7 +73,6 @@ function roots_get_stylesheets() { global $roots_options; $roots_css_framework = $roots_options['css_framework']; - $template_uri = get_template_directory_uri(); $styles = ''; if ($roots_css_framework === 'blueprint') { @@ -101,7 +100,12 @@ function roots_get_stylesheets() { $styles .= "\t\n"; } - $styles .= stylesheet_link_tag('/style.css', 1); + if (is_child_theme()) { + $styles .= stylesheet_link_tag('/style.css', 1); + $styles .= "\t\n"; + } else { + $styles .= stylesheet_link_tag('/style.css', 1); + } if ($roots_css_framework === 'blueprint') { $styles .= "\t\n"; diff --git a/inc/roots-cleanup.php b/inc/roots-cleanup.php index 5df1a56..84a27b2 100644 --- a/inc/roots-cleanup.php +++ b/inc/roots-cleanup.php @@ -1,7 +1,6 @@