diff --git a/app/setup.php b/app/setup.php index e06e9b8..c153f0f 100644 --- a/app/setup.php +++ b/app/setup.php @@ -79,7 +79,7 @@ add_action('after_setup_theme', function () { 'default-image' => asset_path('images/header.jpg'), 'width' => 1650, 'height' => 880, - // 'default-text-color' => '', + 'default-text-color' => '#000', // 'header-text' => true, // 'uploads' => true, // 'wp-head-callback' => '', @@ -203,7 +203,8 @@ add_action('after_setup_theme', function () { add_action('wp_head', function () { $primary = get_option('pb_network_primary_color'); $secondary = get_option('pb_network_secondary_color'); - if ($primary || $secondary) { ?> + $header_text_color = get_header_textcolor(); + if ($primary || $secondary || $header_text_color) { ?>