Hey I just updated Enfold from 3.8 to 4 and now my google fonts I added are not working in the functions.php. If I add them I get a HTTP 500 Error.
I used to use this script:
/* Additonal Google Fonts */
add_filter( ‘avf_google_heading_font’, ‘avia_add_heading_font’);
function avia_add_heading_font($fonts)
{
$fonts[‘Unica One’] = ‘Unica One’;
$fonts[‘Satisfy’] = ‘Satisfy’;
$fonts[‘Roboto Slab’] = ‘Roboto Slab:100,400,700’;
return $fonts;
}
add_filter( ‘avf_google_content_font’, ‘avia_add_content_font’);
function avia_add_content_font($fonts)
{
$fonts[‘Roboto Slab’] = ‘Roboto Slab:100,400,700’;
return $fonts;
}
Any idea how I can get it back working?
Thanks.
Hey Stefan!
That is strange there is no documented change on that.
Can you please also provide us backend access, so we can check some stuff on the code?
Regards,
Basilis
Hey I added the credentials, would be great if you could check and let me know.