Load fonts from server (bypass Google)

Hi there–as part of trying to get all our sites in compliance with core vitals one of the major issues is dealing with Google Fonts and the impact on pagespeed.

I would like to know exactly how to get the theme to

  1. stop requesting google fonts (deque)
  2. load the appropriate fonts from the server

This really should be an option or there should be a script that we can add to functions.php to enable this functionality without having to use a 3rd party plugin (bloat).

I know the entire community would love to have this solution.

Hello @speckledjay,

Thanks for writing in!

Regretfully we do not have any option or filter function that you can add in your child theme to disable the Google Fonts. If you want to load the fonts in your server, just download the Google Font files and load them in the Font Manager just like how you use custom fonts. Kindly check out this documentation:

Best Regards.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.