get_template_directory_uri() .'/assets/images/detail-blog-baner.jpg', 'width' => 1920, 'height' => 540, 'uploads' => true, 'default-text-color' => "fff", 'wp-head-callback' => 'bizstart_header_style', ); add_theme_support( 'custom-header', $defaults ); // add excerpt support for pages add_post_type_support( 'page', 'excerpt' ); if ( is_singular() && comments_open() ) { wp_enqueue_script( 'comment-reply' ); } // Add theme support for selective refresh for widgets. add_theme_support( 'customize-selective-refresh-widgets' ); // Menus register_nav_menus(array( 'primary' => esc_html__('Primary Menu', 'bizstart'), )); // To use additional css add_editor_style( 'assets/css/editor-style.css' ); } add_action( 'after_setup_theme', 'bizstart_theme_setup' ); } /*add filter to change logo class*/ add_filter('get_custom_logo','bizstart_logo_class'); function bizstart_logo_class($html) { $html = str_replace('custom-logo-link', 'navbar-brand', $html); return $html; } /** * Styles the header text color displayed on the page header title * */ function bizstart_header_style() { $header_text_color = get_header_textcolor(); ?> esc_html__( 'Blog Sidebar', "bizstart"), 'id' => 'blog-sidebar', 'description' => esc_html__( 'Sidebar on the blog layout.', "bizstart"), 'before_widget' => '
', 'before_title' => '
$depth, 'max_depth' => $args['max_depth']))) ?>