Hi,
I’ve tried plugin with flatsome and i’ve found some errors that not let’s the plugin to work in one theme file google-fonts.php in inc/functions
I’ve changed this code from line 38 to 44 from this
if($flatsome_opt['type_subset']['latin-ext']){array_push($subsets, 'latin-ext');}
if($flatsome_opt['type_subset']['cyrillic-ext']){array_push($subsets, 'cyrillic-ext');}
if($flatsome_opt['type_subset']['greek-ext']){array_push($subsets, 'greek-ext');}
if($flatsome_opt['type_subset']['greek']){array_push($subsets, 'greek');}
if($flatsome_opt['type_subset']['vietnamese']){array_push($subsets, 'vietnamese');}
if($flatsome_opt['type_subset']['cyrillic']){array_push($subsets, 'cyrillic');}
to this
if(isset( $flatsome_opt['type_subset']['latin-ext'])){array_push($subsets, 'latin-ext');}
if(isset( $flatsome_opt['type_subset']['cyrillic-ext'] )){array_push($subsets, 'cyrillic-ext');}
if(isset( $flatsome_opt['type_subset']['greek-ext'] )){array_push($subsets, 'greek-ext');}
if(isset( $flatsome_opt['type_subset']['greek'] )){array_push($subsets, 'greek');}
if(isset( $flatsome_opt['type_subset']['vietnamese'] )){array_push($subsets, 'vietnamese');}
if(isset( $flatsome_opt['type_subset']['cyrillic'] )){array_push($subsets, 'cyrillic');}
and now all works good.
Regards ??