Site icon Grace Themes

Reply To: [Eaterstop-pro] Some load errors

Hi Leon Please add some code in function.php file to solve the issue of google font. In function.php file at line no. 166 delete the below code
if ( of_get_option('oswaldfontface', true) != '' ) {
wp_enqueue_style( 'eaterstop_pro-gfonts-teamserv', '//fonts.googleapis.com/css?family='.rawurlencode(of_get_option('oswaldfontface',true)).'&subset=cyrillic,arabic,bengali,cyrillic,cyrillic-ext,devanagari,greek,greek-ext,gujarati,hebrew,latin-ext,tamil,telugu,thai,vietnamese,latin' );
}
And then add below code at line no. 166
if ( of_get_option('slidetitlefontface', true) != '' ) {
wp_enqueue_style( 'eaterstop_pro-gfonts-slidertitle', '//fonts.googleapis.com/css?family='.rawurlencode(of_get_option('slidetitlefontface',true)).'&subset=cyrillic,arabic,bengali,cyrillic,cyrillic-ext,devanagari,greek,greek-ext,gujarati,hebrew,latin-ext,tamil,telugu,thai,vietnamese,latin' );
}

if ( of_get_option('slidedesfontface', true) != '' ) {
wp_enqueue_style( 'eaterstop_pro-gfonts-sliderdesciprion', '//fonts.googleapis.com/css?family='.rawurlencode(of_get_option('slidedesfontface',true)).'&subset=cyrillic,arabic,bengali,cyrillic,cyrillic-ext,devanagari,greek,greek-ext,gujarati,hebrew,latin-ext,tamil,telugu,thai,vietnamese,latin' );
}
Regards Grace Themes
Exit mobile version