'1600', 'height' => '300', 'flex-height' => false, 'flex-width' => false, 'header-text' => true, 'default-text-color' => '000', 'wp-head-callback' => 'blogxo_header_color', ); add_theme_support( 'custom-header', $args ); add_theme_support( "title-tag" ); add_theme_support( 'automatic-feed-links' ); add_action( 'customize_register', 'blogxo_customizer_rid_values', 1000 ); function blogxo_customizer_rid_values($wp_customize) { $wp_customize->remove_control('blogarise_title_font_size'); } if ( ! function_exists( 'blogxo_admin_scripts' ) ) : function blogxo_admin_scripts() { wp_enqueue_style('blogxo-admin-style-css', get_stylesheet_directory_uri() . '/css/customizer-controls.css'); } endif; add_action( 'admin_enqueue_scripts', 'blogxo_admin_scripts' ); /** * banner additions. */ if (!function_exists('blogxo_get_block')) : /** * * @param null * * @return null * * @since blogxo 1.0.0 * */ function blogxo_get_block($block = 'grid', $section = 'post') { get_template_part('hooks/blocks/block-' . $section, $block); } endif; function blogxo_theme_option( $wp_customize ) { } add_action('customize_register','blogxo_theme_option'); if ( ! function_exists( 'blogxo_header_color' ) ) : function blogxo_header_color() { $blogarise_logo_text_color = get_header_textcolor(); $blogxo_title_font_size = get_theme_mod('blogxo_title_font_size',''); ?> esc_html__( 'Sidebar Widget Area', 'blogxo' ), 'id' => 'sidebar-1', 'description' => '', 'before_widget' => '
', 'before_title' => '', ) ); register_sidebar( array( 'name' => esc_html__( 'Footer Widget Area', 'blogxo' ), 'id' => 'footer_widget_area', 'description' => '', 'before_widget' => '', 'before_title' => '', ) ); } add_action( 'widgets_init', 'blogxo_widgets_init' );