Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 11 additions & 5 deletions admin/create-theme/theme-styles.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ public static function build_child_style_css( $theme ) {
$template = $theme['template'];
$text_domain = $theme['text_domain'];
$tags = Theme_Tags::theme_tags_list( $theme );
return "/*

$style_css = "/*
Theme Name: {$name}
Theme URI: {$uri}
Author: {$author}
Expand All @@ -29,12 +30,17 @@ public static function build_child_style_css( $theme ) {
Version: 0.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: {$template}
Text Domain: {$text_domain}
";

if ( ! empty( $template ) ) {
$style_css .= "Template: {$template}\n";
}

$style_css .= "Text Domain: {$text_domain}
Tags: {$tags}
*/
*/";

";
return $style_css;
}

public static function clear_user_styles_customizations() {
Expand Down