I tried to add Google font “Prociano” by adding this code in functions.php but the font is not appearing in the list.
add_filter( ‘avf_google_heading_font’, ‘avia_add_heading_font’);
function avia_add_heading_font($fonts)
{
$fonts[‘Prociono’] = ‘Prociono’;
return $fonts;
}
add_filter( ‘avf_google_content_font’, ‘avia_add_content_font’);
function avia_add_content_font($fonts)
{
$fonts[‘Prociono’] = ‘Prociono’;
return $fonts;
}
Hey AudioSuites2018,
Have you tried adding the font by linking the CDN directly in the header file.
Here are alternative approaches:
https://www.designbombs.com/add-google-fonts-wordpress/
Best regards,
Jordan Shannon
I had that option as my backup but wont it be affected during theme update?
Hi,
Not if added via functions.php. Method D in the the link I provided.
Best regards,
Jordan Shannon