Hi,
I have a little problem, I read few topic about google fonts, I found code:
add_filter( 'avf_google_heading_font', 'avia_add_heading_font');
function avia_add_heading_font($fonts)
{
$fonts['Open Sans'] = 'Open Sans:400,500,600,700,800,900&subset=latin,latin-ext';
return $fonts;
}
add_filter( 'avf_google_content_font', 'avia_add_content_font');
function avia_add_content_font($fonts)
{
$fonts['Open Sans'] = 'Open Sans:400,500,600,700,800,900&subset=latin,latin-ext';
return $fonts;
}
and I added it to my function.php after global $avia_config;
but still I don’t have polish characters in posts title…. in open sans of course :(
thanks in advance for help!
Hey TomaszStelmach!
Thank you for using enfold.
Add this on the functions.php:
function add_subset_func($fontlist) {
$fontlist .= ",cyrillic";
return $fontlist;
}
add_filter('avf_google_fontlist', 'add_subset_func');
Cheers!
Ismael
Finally it’s works, thank you! :)