why ? for headings i use open sans, which support greek
do i have to hack choices\includes\admin\register-admin-options.php file or/and choices\framework\php\class-style-generator.php ?
plz. give a solution
why ? for headings i use open sans, which support greek
do i have to hack choices\includes\admin\register-admin-options.php file or/and choices\framework\php\class-style-generator.php ?
plz. give a solution
any ideas ?
Hi,
I'm not sure if/what you would need to do so I'm going to flag this for the rest of the support team to see if they may know.
Regards,
Mya
You'll need to hack the core files in this case - open up choices\framework\php\class-style-generator.php and search for:
$this->extra_output .= '<link id="google_webfont_'.$this->webfont_count.'" rel="stylesheet" type="text/css" href="'.$prefix.'://fonts.googleapis.com/css?family='.str_replace(' ','+',$rule_split[0]).'" />';
replace the code with:
$this->extra_output .= '<link id="google_webfont_'.$this->webfont_count.'" rel="stylesheet" type="text/css" href="'.$prefix.'://fonts.googleapis.com/css?subset=latin,cyrillic&family='.str_replace(' ','+',$rule_split[0]).'" />';
Instead of ?subset=latin,cyrillic insert the subset(s) you need (eg latin and greek, etc.).
This topic has been closed to new replies.