diff --git a/app/admin.php b/app/admin.php index 7f5a053..3254f2b 100644 --- a/app/admin.php +++ b/app/admin.php @@ -30,7 +30,7 @@ add_action('customize_register', function (\WP_Customize_Manager $wp_customize) 'section' => 'pb_network_colors', 'settings' => 'pb_network_primary_color', ] - )); + )); $wp_customize->add_setting('pb_network_secondary_color', [ 'type' => 'option', 'default' => '#015d75', @@ -43,7 +43,7 @@ add_action('customize_register', function (\WP_Customize_Manager $wp_customize) 'section' => 'pb_network_colors', 'settings' => 'pb_network_secondary_color', ] - )); + )); $wp_customize->add_section('pb_network_social', [ 'title' => __('Social Media', 'aldine'), 'priority' => 30, diff --git a/app/setup.php b/app/setup.php index 32618cc..ed271cd 100644 --- a/app/setup.php +++ b/app/setup.php @@ -192,7 +192,7 @@ add_action('wp_head', function () { } } +if ($secondary) { ?> .secondary { color: ; } .bg-secondary { background-color: ; } .b--secondary { @@ -219,7 +219,7 @@ add_action('wp_head', function () { .home .one-two .block-2 { background: ; } - +