Hi Team GP
Following your documentation, I managed to add INTER and QUESTRIAL google fonts using Code snippets plugin.
Using the same code, I have had no success with a third free google font Martel sans, however.
here is the code:
add_filter( ‘generate_typography_customize_list’, ‘tu_add_google_fonts’ );
function tu_add_google_fonts( $fonts ) {
$fonts[ ‘Martel_Sans’ ] = array(
‘name’ => ‘Martel Sans’,
‘variants’ => array( ‘200’, ‘300’, ‘400’, ‘500’, ‘600’),
‘category’ => ‘sans-serif’
);
return $fonts;
}
Adjusting the same code with Martel+Sans did not work either.
Please advise
Many thanks