body.boxed { background:url("'.get_template_directory_uri().'/assets/images/bg-pattern/'.$bg_pattern.'");}'; } } add_action('wp_head','artech_background_pattern',10,0); /** * Display Sidebars */ if ( ! function_exists( 'artech_get_sidebars' ) ) { /** * Get Sidebar * * @since 1.0 * @param string $sidebar_id Sidebar Id. * @return void */ function artech_get_sidebars( $sidebar_id ) { if ( is_active_sidebar( $sidebar_id ) ) { dynamic_sidebar( $sidebar_id ); } elseif ( current_user_can( 'edit_theme_options' ) ) { ?>
date_i18n('Y', current_time( 'timestamp' )), '[site_title]' => get_bloginfo('name'), '[theme_author]' => sprintf(__('Artech', 'artech')), ); ?>
date_i18n('Y', current_time( 'timestamp' )), '[site_title]' => get_bloginfo('name'), '[theme_author]' => sprintf(__('Artech', 'artech')), ); ?>
cart->cart_contents_count; $header_cart = get_theme_mod('header_cart','fa-shopping-cart'); ?> 0 ) { ?> 0 '', 'link' => '', 'id' => 'customizer_repeater_header_social_001', ), array( 'icon_value' => '', 'link' => '', 'id' => 'customizer_repeater_header_social_002', ), array( 'icon_value' => '', 'link' => '', 'id' => 'customizer_repeater_header_social_003', ), array( 'icon_value' => '', 'link' => '', 'id' => 'customizer_repeater_header_social_004', ), array( 'icon_value' => '', 'link' => '', 'id' => 'customizer_repeater_header_social_005', ) ) ) ); } /* * * Slider Default */ function artech_get_slider_default() { return apply_filters( 'artech_get_slider_default', json_encode( array( array( 'image_url' => '', 'title' => '', 'subtitle' => '', 'text' => '', 'text2' => '', 'link' => '', 'button_second' => '', 'link2' => '', 'id' => 'customizer_repeater_slider_001', ), array( 'image_url' => '', 'title' => '', 'subtitle' => '', 'text' => '', 'text2' => '', 'link' => '', 'button_second' => '', 'link2' => '', 'id' => '', ), array( 'image_url' => '', 'title' => '', 'subtitle' => '', 'text' => '', 'text2' => '', 'link' => '', 'button_second' => '', 'link2' => '', 'id' => 'customizer_repeater_slider_003', ), ) ) ); } /* * * Service Default */ function artech_get_service_default() { return apply_filters( 'artech_get_service_default', json_encode( array( array( 'image_url' => '', 'icon_value' => '', 'title' => '', 'id' => 'customizer_repeater_service_001', ), array( 'image_url' => '', 'icon_value' => '', 'title' => '', 'id' => 'customizer_repeater_service_002', ), array( 'image_url' => '', 'icon_value' => '', 'title' => '', 'id' => 'customizer_repeater_service_003', ), array( 'image_url' => '', 'icon_value' => '', 'title' => '', 'id' => 'customizer_repeater_service_004', ) ) ) ); } /* * * Features Default */ function artech_get_features_default() { return apply_filters( 'artech_get_features_default', json_encode( array( array( 'icon_value' => '', 'title' => '', 'link' => '', 'id' => 'customizer_repeater_features_001', ), array( 'icon_value' => '', 'title' => '', 'link' => '', 'id' => 'customizer_repeater_features_002', ), array( 'icon_value' => '', 'title' => '', 'link' => '', 'id' => 'customizer_repeater_features_003', ), array( 'icon_value' => '', 'title' => esc_html__( 'Immunology', 'artech' ), 'link' => '', 'id' => 'customizer_repeater_features_004', ), array( 'icon_value' => '', 'title' => '', 'link' => '', 'id' => 'customizer_repeater_features_005', ), array( 'icon_value' => '', 'title' => '', 'link' => '', 'id' => 'customizer_repeater_features_006', ), array( 'icon_value' => '', 'title' => '', 'link' => '', 'id' => 'customizer_repeater_features_007', ), array( 'icon_value' => '', 'title' => '', 'link' => '', 'id' => 'customizer_repeater_features_008', ), array( 'icon_value' => '', 'title' => '', 'link' => '', 'id' => 'customizer_repeater_features_009', ), array( 'icon_value' => '', 'title' => '', 'link' => '', 'id' => 'customizer_repeater_features_0010', ), ) ) ); } /* * * Funfact Default */ function artech_get_funfact_default() { return apply_filters( 'artech_get_funfact_default', json_encode( array( array( 'icon_value' => '', 'title' => '', 'subtitle' => '', 'id' => 'customizer_repeater_funfact_001', ), array( 'icon_value' => '', 'title' => '', 'subtitle' => '', 'id' => 'customizer_repeater_funfact_002', ), array( 'icon_value' => '', 'title' => '', 'subtitle' => '', 'id' => 'customizer_repeater_funfact_003', ), array( 'icon_value' => '', 'title' => '', 'subtitle' => '', 'id' => 'customizer_repeater_funfact_004', ), ) ) ); }