From dcf303ed2ce0d8c6b10d2289204793e0d98e74ec Mon Sep 17 00:00:00 2001 From: Fabiano Alencar Date: Wed, 28 Feb 2018 13:55:04 -0300 Subject: [PATCH] Initial custom color. --- src/functions.php | 1 + src/functions/customize.php | 31 +++++++++++++++++++++++++++++++ src/functions/enqueues.php | 7 +++---- src/functions/setup.php | 10 ++++++++++ 4 files changed, 45 insertions(+), 4 deletions(-) create mode 100644 src/functions/customize.php diff --git a/src/functions.php b/src/functions.php index 01219fd..69a8d3f 100644 --- a/src/functions.php +++ b/src/functions.php @@ -1,5 +1,6 @@ + + '212529', + 'wp-head-callback' => 'tainacan_header_style', + ); + add_theme_support( 'custom-header', $custom_header_support ); + + if ( ! function_exists( 'get_custom_header' ) ) { + // This is all for compatibility with versions of WordPress prior to 3.4. + define( 'HEADER_TEXTCOLOR', $custom_header_support['default-text-color'] ); + } /** * Desabilita o FTP na instalação de Plugins */