Reply To: Self – Hosting Google Font

Home Forums Support Self – Hosting Google Font Reply To: Self – Hosting Google Font

Home Forums Support Self – Hosting Google Font Reply To: Self – Hosting Google Font

#199565
Tom
Lead Developer
Lead Developer

You would do something like that.

First you would remove GP’s Google fonts:

add_action('after_setup_theme','generate_remove_google_fonts_stylesheet');
function generate_remove_google_fonts_stylesheet()
{
      remove_action('wp_enqueue_scripts','generate_display_google_fonts', 0);
}

Then add your own doing something like this: https://css-tricks.com/snippets/css/using-font-face/