urlencode( implode( '|', $font_families ) ), 'subset' => urlencode( 'latin,latin-ext' ), ); $get_fonts_url = add_query_arg( $query_args, '//fonts.googleapis.com/css' ); return $get_fonts_url; } function belltech_scripts_styles() { wp_enqueue_style( 'belltech-fonts', belltech_google_font(), array(), null ); } add_action( 'wp_enqueue_scripts', 'belltech_scripts_styles' ); /** * Called all the Customize file. */ require( get_stylesheet_directory() . '/inc/customize/belltech-premium.php'); /** * Import Options From Parent Theme * */ function belltech_parent_theme_options() { $metasoft_mods = get_option( 'theme_mods_metasoft' ); if ( ! empty( $metasoft_mods ) ) { foreach ( $metasoft_mods as $metasoft_mod_k => $metasoft_mod_v ) { set_theme_mod( $metasoft_mod_k, $metasoft_mod_v ); } } } add_action( 'after_switch_theme', 'belltech_parent_theme_options' );