$consultstreet_mod_v ) { set_theme_mod( $consultstreet_mod_k, $consultstreet_mod_v ); } } } add_action( 'after_switch_theme', 'blogwar_parent_theme_options' ); /** * Fresh site activate * */ $fresh_site_activate = get_option( 'fresh_blogwar_site_activate' ); if ( (bool) $fresh_site_activate === false ) { set_theme_mod( 'consultstreet_menu_container_size', 'container-full' ); set_theme_mod( 'consultstreet_top_header_container_size', 'container-full' ); set_theme_mod( 'consultstreet_footer_container_size', 'container-full' ); set_theme_mod( 'consultstreet_theme_color', 'theme-blue-strong' ); set_theme_mod( 'consultstreet_main_header_style', 'standard' ); set_theme_mod( 'consultstreet_footer_section_background_color', '#01012f'); set_theme_mod( 'consultstreet_top_header_bac_color', '#01012f'); set_theme_mod( 'consultstreet_typography_disabled', true ); set_theme_mod( 'consultstreet_typography_h1_font_family', 'Josefin Sans' ); set_theme_mod( 'consultstreet_typography_h2_font_family', 'Josefin Sans' ); set_theme_mod( 'consultstreet_typography_h3_font_family', 'Josefin Sans' ); set_theme_mod( 'consultstreet_typography_h4_font_family', 'Josefin Sans' ); set_theme_mod( 'consultstreet_typography_h5_font_family', 'Josefin Sans' ); set_theme_mod( 'consultstreet_typography_h6_font_family', 'Josefin Sans' ); set_theme_mod( 'consultstreet_typography_widget_title_font_family', 'Josefin Sans' ); set_theme_mod( 'consultstreet_typography_menu_bar_font_family', 'Josefin Sans' ); set_theme_mod( 'consultstreet_typography_dropdown_bar_font_family', 'Josefin Sans' ); update_option( 'fresh_blogwar_site_activate', true ); } /** * Page header * */ function blogwar_custom_header_setup() { add_theme_support( 'custom-header', apply_filters( 'blogwar_custom_header_args', array( 'default-image' => get_stylesheet_directory_uri().'/assets/img/page-header.jpg', 'default-text-color' => '000', 'width' => 1920, 'height' => 500, 'flex-height' => true, 'flex-width' => true, 'wp-head-callback' => 'blogwar_header_style', ) ) ); } add_action( 'after_setup_theme', 'blogwar_custom_header_setup' ); /** * Remove Parent Theme Setting * */ function blogwar_remove_parent_setting( $wp_customize ) { $wp_customize->remove_setting('consultstreet_sticky_bar_logo'); } add_action( 'customize_register', 'blogwar_remove_parent_setting',99 ); function blogwar_custom_customizer_options() { $blogwar_main_slider_content_color = get_theme_mod('consultstreet_main_slider_content_color', '#fff'); ?>