How can we add more fonts (Google fonts) that support cyrilic?
Thank you.
You can use the avf_google_heading_font and avf_google_content_font filter to add a new font. Insert following code at the bottom of functions.php:
add_filter( 'avf_google_heading_font', 'avia_add_heading_font');
function avia_add_heading_font($fonts)
{
$fonts['Open Sans'] = 'Open Sans';
return $fonts;
}
add_filter( 'avf_google_content_font', 'avia_add_content_font');
function avia_add_content_font($fonts)
{
$fonts['Open Sans'] = 'Open Sans';
return $fonts;
}
and replace “Open Sans” (on both sides) with your cyrillic font. If you want to add several weights use the write the font name like.
$fonts['Open Sans'] = 'Open Sans:400,600';
and Enfold will load the 400 & 600 font weight.
Afterwards go to the theme options panel and select the new font. Then save the settings.