100,
'width' => 400,
'flex-height' => true,
'flex-width' => true,
'header-text' => array( 'site-title', 'site-description' ),
);
add_theme_support( 'custom-logo', $defaults );
}
add_action( 'after_setup_theme', 'themename_custom_logo_setup' );
// Widgets
function blogtime_widgets_init() {
register_sidebar( array(
'name' => 'Custom Header Widget Area',
'id' => 'custom-header-widget',
'before_widget' => '
',
'after_widget' => '
',
'before_title' => '',
'after_title' => '
',
) );
}
add_action( 'widgets_init', 'blogtime_widgets_init' );
// Customizer Settings
require get_stylesheet_directory() . '/inc/blogtime-customizer.php';
new BlogTime_Customizer();
if ( ! isset( $content_width ) ) {
$content_width = 600;
}
add_theme_support( 'post-thumbnails', array( 'post' ) ); // Posts only
function theme_get_customizer_css() {
ob_start();
$text_color = get_theme_mod( 'text_color', '' );
if ( ! empty( $text_color ) ) {
?>
body {
color: ;
}
a {
color: ;
border-bottom-color: ;
}
a:hover {
color: ;
border-bottom-color: ;
}
button,
input[type="submit"] {
background-color: ;
}
body {
background-color: ;
}
.wrapper {
background-color: ;
}