badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

Reply To: Change the font type of the slogan

#39983
Pavel
Participant

Hi,

because the standard Google loading fonts can not work with latin extended, which I use, it is necessary to add to the line inc/function/function.php 68 “&subset=latin,latin-ext”
So I’m in a child theme function.php to put this:

function bobo_google_custom () {
wp_dequeue_style(‘interface_google_font’);
wp_deregister_style(‘interface_google_font’);
wp_register_style( ‘interface_google_font’, ‘//fonts.googleapis.com/css?family=’.$interface_google_font_load .’:400,700italic,700,400,800italic&subset=latin,latin-ext’);
}

add_action( ‘wp_enqueue_scripts’, ‘bobo_google_custom’ );

where I disconnect the original script and put your own. But I do not know how to resolve the variable $ interface_google_font_load that there is not inserted.