Witam. Używam wordpress z zainstalowanym stylem themify_ultra i problem jest tej maści że jak używam google fonts które już tam jest zainstalowane to nie ma polskich znaków. Jak najłatwiej przerobić ten kod. aby były polskie znaki. Sądzę że problem leży tu. Będę wdzięczny za szybką pomoc
function themify_theme_google_fonts( $fonts ) {
$font = themify_area_design( 'font', array(
'default' => '',
'values' => wp_list_pluck( themify_theme_font_design_options(), 'value' ),
) );
/* translators: If there are characters in your language that are not supported by Open Sans, translate this to 'off'. Do not translate into your own language. */
if ( 'off' !== _x( 'on', 'Open Sans font: on or off', 'themify' ) ) {
$fonts['open-sans'] = 'Open+Sans:400italic,600italic,700italic,400,300,600,700';
}
if( $font == 'theme-font-slab' || $font == 'theme-font-slab-sans' ) {
/* translators: If there are characters in your language that are not supported by Roboto Slab, translate this to 'off'. Do not translate into your own language. */
if ( 'off' !== _x( 'on', 'Roboto Slab font: on or off', 'themify' ) ) {
$fonts['roboto-slab'] = 'Roboto+Slab:300,700,400';
}
}
if( $font == 'theme-font-serif' || $font == 'theme-font-slab-sans' ) {
/* translators: If there are characters in your language that are not supported by Sorts Mill Goudy, translate this to 'off'. Do not translate into your own language. */
if ( 'off' !== _x( 'on', 'Sorts Mill Goudy font: on or off', 'themify' ) ) {
$fonts['sorts-mill-goudy'] = 'Sorts+Mill+Goudy:400,400italic';
}
}
return apply_filters( 'themify_theme_google_fonts', $fonts );
}