Browse Source

Fix CS.

pull/11/head
Ned Zimmerman 7 years ago
parent
commit
03ec9eeaef
No known key found for this signature in database
GPG Key ID: FF56334A013120CA
  1. 4
      app/admin.php
  2. 4
      app/setup.php

4
app/admin.php

@ -30,7 +30,7 @@ add_action('customize_register', function (\WP_Customize_Manager $wp_customize)
'section' => 'pb_network_colors', 'section' => 'pb_network_colors',
'settings' => 'pb_network_primary_color', 'settings' => 'pb_network_primary_color',
] ]
)); ));
$wp_customize->add_setting('pb_network_secondary_color', [ $wp_customize->add_setting('pb_network_secondary_color', [
'type' => 'option', 'type' => 'option',
'default' => '#015d75', 'default' => '#015d75',
@ -43,7 +43,7 @@ add_action('customize_register', function (\WP_Customize_Manager $wp_customize)
'section' => 'pb_network_colors', 'section' => 'pb_network_colors',
'settings' => 'pb_network_secondary_color', 'settings' => 'pb_network_secondary_color',
] ]
)); ));
$wp_customize->add_section('pb_network_social', [ $wp_customize->add_section('pb_network_social', [
'title' => __('Social Media', 'aldine'), 'title' => __('Social Media', 'aldine'),
'priority' => 30, 'priority' => 30,

4
app/setup.php

@ -192,7 +192,7 @@ add_action('wp_head', function () {
} }
} }
<?php } <?php }
if ($secondary) { ?> if ($secondary) { ?>
.secondary { color: <?= $secondary ?>; } .secondary { color: <?= $secondary ?>; }
.bg-secondary { background-color: <?= $secondary ?>; } .bg-secondary { background-color: <?= $secondary ?>; }
.b--secondary { .b--secondary {
@ -219,7 +219,7 @@ add_action('wp_head', function () {
.home .one-two .block-2 { .home .one-two .block-2 {
background: <?= $secondary ?>; background: <?= $secondary ?>;
} }
<?php } ?> <?php } ?>
</style> </style>
<?php } <?php }
}); });

Loading…
Cancel
Save