Hi,
For some reason my prevous thread was closed with 1 unresolved issue (https://kriesi.at/support/topic/wordpress-mu-subdomain-issue-import-and-setting-dont-work/)
So basically I’ve made a custom font (actually added cyrillic support to Open Sans)
code added to child’s function.php
add_filter( 'avf_google_heading_font', 'avia_add_heading_font');
function avia_add_heading_font($fonts)
{
$fonts['Open Sans C'] = 'Open Sans:400,600&subset=cyrillic';
return $fonts;
}
add_filter( 'avf_google_content_font', 'avia_add_content_font');
function avia_add_content_font($fonts)
{
$fonts['Open Sans C'] = 'Open Sans:400,600&subset=cyrillic';
return $fonts;
}
Whenever I set Open Sans C in settings it only stays untill i log-out
Hey!
If you want to add a subset to the Google Font output use this code instead:
function add_subset_func($fontlist) {
$fontlist .= "&subset=cyrillic";
return $fontlist;
}
add_filter('avf_google_fontlist', 'add_subset_func');
Regards,
Josue