get_stylesheet_directory_uri().'/images/banner-image.jpg', ); return $default_image; } add_filter( 'rara_business_custom_header_args', 'businessmatic_custom_header_args_callback' ); /** * Add demo content info */ function rara_business_customizer_demo_content( $wp_customize ) { $wp_customize->add_section( 'demo_content_section' , array( 'title' => __( 'Demo Content Import' , 'businessmatic' ), 'priority' => 7, )); $wp_customize->add_setting( 'demo_content_instruction', array( 'sanitize_callback' => 'wp_kses_post' ) ); /* translators: 1: string, 2: url, 3: string */ $demo_content_description = sprintf( '%1$s%3$s', esc_html__( 'Businessmatic comes with demo content import feature. You can import the demo content with just one click. For step-by-step video tutorial, ', 'businessmatic' ), esc_url( 'https://rarathemes.com/blog/import-demo-content-rara-themes/' ), esc_html__( 'Click here', 'businessmatic' ) ); $wp_customize->add_control( new Rara_Business_Note_Control( $wp_customize, 'demo_content_instruction', array( 'section' => 'demo_content_section', 'description' => $demo_content_description ) ) ); $theme_demo_content_desc = ''; $theme_demo_content_desc .= '' . __( 'Click here', 'businessmatic' ) . '
'; if( ! class_exists( 'RDDI_init' ) ) { $theme_demo_content_desc .= '' . __( 'Rara One Click Demo Import', 'businessmatic' ) . '
'; } $wp_customize->add_setting( 'theme_demo_content_info',array( 'default' => '', 'sanitize_callback' => 'wp_kses_post', )); // Demo content $wp_customize->add_control( new Rara_Business_Note_Control( $wp_customize ,'theme_demo_content_info',array( 'section' => 'demo_content_section', 'description' => $theme_demo_content_desc ))); } add_action( 'customize_register', 'rara_business_customizer_demo_content', 15 ); /** * Header Start */ function rara_business_header(){ $default_options = rara_business_default_theme_options(); // Get default theme options $ed_header_contact = get_theme_mod( 'ed_header_contact_details', $default_options['ed_header_contact_details'] ); $phone = get_theme_mod( 'header_phone', $default_options['header_phone'] ); $address = get_theme_mod( 'header_address', $default_options['header_address'] ); $email = get_theme_mod( 'header_email', $default_options['header_email'] ); $icon = get_theme_mod( 'custom_link_icon', $default_options['custom_link_icon'] ); $label = get_theme_mod( 'custom_link_label', $default_options['custom_link_label'] ); $ed_header_social = get_theme_mod( 'ed_header_social_links', $default_options['ed_header_social_links'] ); $social_links = get_theme_mod( 'header_social_links', $default_options['header_social_links'] ); $link = get_theme_mod( 'custom_link', $default_options['custom_link'] ); ?> urlencode( implode( '|', $font_families ) ), 'subset' => urlencode( 'latin,latin-ext' ), 'display' => urlencode( 'fallback' ), ); $fonts_url = add_query_arg( $query_args, 'https://fonts.googleapis.com/css' ); } return esc_url( $fonts_url ); }