I’ve stored fonts locally both in child theme and main theme, also added the php snippet to add the Tamil google web fonts with the plugin WP Code box, site is https://moneypechu.com/home
<?php
add_filter( 'generate_typography_default_fonts', function( $fonts ) {
$fonts[] = 'Arima Madurai';
$fonts[] = 'Catamaran';
$fonts[] = 'Meera Inimai';
$fonts[] = 'Mukta Malar';
return $fonts;
} );
And another snippet to remove the google font
<?php
add_action( 'admin_init', function() {
add_filter( 'generate_google_fonts_array', '__return_empty_array' );
} );
When I search for added Tamil fonts in theme customizer, it doesn’t show up, but when I search in a Gutenberg blog Mazagine plugin called PostX, it shows up there when typography is searched with in that.
I’ve uploaded font through ftp in the fonts folder, is this CSS referencing correct?
https://moneypechu.com/wp-content/themes/generatepress_child
Would like to know, what I did wrong