Hello,
I have analysed my website, loading Google font api makes super slower.
Which .php files included this code (http://fonts.googleapis.com ~)?
I am a new about html; could not find out where those codes are.
Please let me know.
Regards,
SR
This topic has 6 replies, 3 voices, and was last updated 10 years, 11 months ago ago by Eva Kemp
Hello,
I have analysed my website, loading Google font api makes super slower.
Which .php files included this code (http://fonts.googleapis.com ~)?
I am a new about html; could not find out where those codes are.
Please let me know.
Regards,
SR
Hello,
Google fonts code is placed in the file wp-content/themes/legenda/framework/shortcodes.php.
We recommend you to make any changes in a child theme not to lose the modifications after the theme update.
Regards,
Eva Kemp.
Where is the Google fonts script being called in on the Royal theme?
Hello @candaceljoseph,
Google fonts code is placed in the file wp-content/themes/royal/framework/shortcodes.php (find the section “! Google Font”).
Thank you.
Regards,
Eva Kemp.
Open Sans is the only font being called in there (see screenshot). I’m still getting Roboto throughout the theme – where is that one being called in?
https://dl.dropboxusercontent.com/u/21083811/Screen%20Shot%202015-01-02%20at%209.53.52%20AM.png
Hello @candaceljoseph,
You need also check the file wp-content/themes/royal/framework/theme-functions.php.
Regards,
Eva Kemp.
The issue related to '‘How to disable or remove Google Font code?’' has been successfully resolved, and the topic is now closed for further responses