get('Version') : '' ); wp_enqueue_style( $parent_style . '_child_style', get_stylesheet_directory_uri() . '/style.css', array( $parent_style ), wp_get_theme()->get('Version') ); wp_enqueue_style( 'medical-hospital-lab-google-fonts-Hind|Poppins', 'https://fonts.googleapis.com/css?family=Hind|Poppins', false ); } /** * Enqueue style for custom customize control. */ add_action( 'customize_controls_enqueue_scripts', 'medical_hospital_lab_custom_customize_enqueue' ); function medical_hospital_lab_custom_customize_enqueue() { wp_enqueue_style( 'medical-hospital-lab-customize-controls', get_stylesheet_directory_uri() . '/inc/sections/customizer.css' ); } add_action( 'customize_register', 'medical_hospital_lab_upgrade_to_pro_msg' ); function medical_hospital_lab_upgrade_to_pro_msg( $wp_customize ){ // Hide in parent theme if( !is_child_theme() ){ return; } require_once( get_stylesheet_directory() . '/inc/sections/controls.php' ); // Register custom section types. $wp_customize->register_section_type( 'Medical_Hospital_Lab_Customize_section' ); // Register sections. $wp_customize->add_section( new Medical_Hospital_Lab_Customize_section( $wp_customize, 'theme_upsell', array( 'priority' => 1, ) ) ); } /** * Customizer additions. */ require plugin_dir_path( __FILE__ ) . '/customizer.php'; function medical_hospital_lab_about_us_button_label2(){ return esc_html( get_theme_mod('button_label2' ) ); } function medical_hospital_lab_button_page_link(){ return esc_html( get_theme_mod('button_link_label' ) ); } function medical_hospital_lab_about_us_button_label22(){ return esc_html( get_theme_mod('button_label22' ) ); } function medical_hospital_lab_features_title(){ return esc_html( get_theme_mod('features_title' ) ); } function medical_hospital_lab_features_subtitle(){ return esc_html( get_theme_mod('features_subtitle' ) ); } function medical_hospital_lab_wedding_heading(){ return esc_html( get_theme_mod('port_sec_title1') ); } function medical_hospital_lab_wedding_subheading(){ return esc_html( get_theme_mod('port_sec_subtitle1') ); } function medical_hospital_lab_team_heading(){ return esc_html( get_theme_mod('team_title') ); } function medical_hospital_lab_team_subheading(){ return esc_html( get_theme_mod('team_subtitle') ); } function medical_hospital_lab_fact_title(){ return esc_html( get_theme_mod('fun_fact_title1') ); } function medical_hospital_lab_fact_num(){ return esc_html( get_theme_mod('fun_fact_num1') ); } function medical_hospital_lab_fact_title1(){ return esc_html( get_theme_mod('fun_fact_title2') ); } function medical_hospital_lab_fact_num1(){ return esc_html( get_theme_mod('fun_fact_num2') ); } function medical_hospital_lab_fact_title2(){ return esc_html( get_theme_mod('fun_fact_title3') ); } function medical_hospital_lab_fact_num3(){ return esc_html( get_theme_mod('fun_fact_num3') ); } function medical_hospital_lab_fact_title3(){ return esc_html( get_theme_mod('fun_fact_title4') ); } function medical_hospital_lab_fact_num4(){ return esc_html( get_theme_mod('fun_fact_num4') ); } function medical_hospital_lab_latest_posts_heading(){ return esc_html( get_theme_mod('blog_title') ); } function medical_hospital_lab_latest_posts_subheading(){ return esc_html( get_theme_mod('blog_subtitle') ); } function medical_hospital_lab_latest_posts_heading1(){ return esc_html( get_theme_mod('blog_title1') ); } function medical_hospital_lab_latest_posts_subheading1(){ return esc_html( get_theme_mod('blog_subtitle1') ); } function medical_hospital_lab_download_posts_heading(){ return esc_html( get_theme_mod('download_title') ); } function medical_hospital_lab_download_posts_subheading(){ return esc_html( get_theme_mod('download_subtitle') ); } if ( is_admin() && is_child_theme() ) { // Load about. require_once trailingslashit( get_stylesheet_directory() ) . '/inc/theme-info/class-about.php'; require_once trailingslashit( get_stylesheet_directory() ) . '/inc/theme-info/about.php'; // Load demo. require_once trailingslashit( get_stylesheet_directory() ) . '/inc/demo/class-demo.php'; require_once trailingslashit( get_stylesheet_directory() ) . '/inc/demo/demo.php'; }