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'), )); //About Theme if ( is_admin() ) { require( get_template_directory() . '/include/welcome-screen.php'); } // 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 * */ if (!function_exists('bizstart_ocdi_files')) : /** * OCDI files. * * @since 1.0.0 * * @return array Files. */ function bizstart_ocdi_files() { return apply_filters( 'aft_demo_import_files', array( array( 'import_file_name' => esc_html__( 'bizstart Data', 'bizstart' ), 'local_import_file' => trailingslashit( get_template_directory() ) . 'demo-content/default/bizstart.xml', 'local_import_widget_file' => trailingslashit( get_template_directory() ) . 'demo-content/default/bizstart.wie', 'local_import_customizer_file' => trailingslashit( get_template_directory() ) . 'demo-content/default/bizstart.dat', ), )); } endif; add_filter( 'pt-ocdi/import_files', 'bizstart_ocdi_files'); 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']))) ?>