I just cant make google font “roboto condensed” to be inserted via functions.php theme file with latin ext characters.
I read most of the support topics already opened.
Hi OblakJ!
What does the function look like that you are using right now and where exactly in your functions.php did you add it?
Best regards,
Devin
add_filter( 'avf_google_heading_font', 'avia_add_heading_font');
function avia_add_heading_font($fonts)
{
$fonts['Roboto'] = 'Roboto:400,600&subset=latin,latin-ext';
return $fonts;
}
add_filter( 'avf_google_content_font', 'avia_add_content_font');
function avia_add_content_font($fonts)
{
$fonts['Roboto'] = 'Roboto:400,600&subset=latin,latin-ext';
return $fonts;
}
On the last line of functions.php
Hey!
Make sure you are using the latest version of Enfold, then remove the subset from there and add this below:
function add_subset_func($fontlist) {
$fontlist .= "&subset=latin,latin-ext";
return $fontlist;
}
add_filter('avf_google_fontlist', 'add_subset_func');
Regards,
Josue
Resolved. Thanks. Good solution for all lat-ext countries.
You are welcome, always glad to help :)
Regards,
Josue