Hi again, @betheroots:
I have the same issue as you. I’m serving the fonts locally, which are already installed on a folder of my child theme. But I can’t disable the call to Google Fonts.
Line 79 on functions.php creates the wp_enqueue_style of Google Fonts. I’ve been trying to disable it with several methods, like this:
// Desactivar Google Fonts
add_action( 'wp_enqueue_styles', 'dequeue_hamilton_fonts' );
function dequeue_hamilton_fonts() {
wp_dequeue_style( 'hamilton-fonts' );
}
And borrow it from the codex: wp_deregister_style and wp_deregister_style. None of both work.
The temporal solution that I found is to turn to ‘off’ the setting on the functions.php of Hamilton, which will be lost on the next update.
If you have already the solution, it would be appreciate if you reply with it. If not, we’ll wait for the solution.
Greetings ??