wpsnoop: fix Google Fonts plugin conflicts, errors & issues

When the plugin Google Fonts conflicts or throws a PHP error we hope wpsnoop can help you to fix the issue quickly.


Discover which shortcodes wp-options PHP functions database tables and files are created by Google Fonts, plus learn which plugins and/or themes could be in conflict with Google Fonts.


Troubleshooting theme and plugin conflicts is easier when you know what Google Fonts leaves behind after uninstalling it from a WordPress installation, there is a list down below for your convenience.

Expert advice is recommended if you are not technically proficient with PHP, MySQL etc. View support options for Google Fonts

Get professional support for Google Fonts here

When you need professional help with WordPress: get help here


What does Google Fonts version v3.1.4 add to WordPress? Answers Here.

This is an automatically generated report - it is possible for Google Fonts to perform differently in your installation, previous versions before v3.1.4 may have created a different set of shortcodes, used different function names or could have created entirely different database tables to store settings and operate. This is not an exhaustive list but shows how version v3.1.4 of Google Fonts behaves when installed and removed on a clean installation of WordPress.

We have not tested individual shortcodes, features or settings of this plugin but instead have concentrated on the potential for obvious errors and conflicts which can occur, if you need help with the plugin in your local installation you can get WordPress help and support for Google Fonts by clicking here.

Our testing covered the free version of this plugin there may or may not be a paid version or premium version available for purchase that unlocks additional features and could behave in a slightly or very different manner.

Which new files does Google Fonts add to WordPress?

This section will populate with a table showing an icon, size and filepath.

Type & Path Size Conflicts
wp-content/plugins/sw-google-fonts/ 209.66kB No known conflicts with other themes or plugins.
wp-content/plugins/sw-google-fonts/images/ 8.33kB No known conflicts with other themes or plugins.
wp-content/plugins/sw-google-fonts/images/spinner.gif 8.33kB No known conflicts with other themes or plugins.
wp-content/plugins/sw-google-fonts/languages/ 56.90kB No known conflicts with other themes or plugins.
wp-content/plugins/sw-google-fonts/languages/googlefonts_sk_SK.mo 4.48kB No known conflicts with other themes or plugins.
wp-content/plugins/sw-google-fonts/languages/googlefonts_sk_SK.po 7.01kB No known conflicts with other themes or plugins.
wp-content/plugins/sw-google-fonts/languages/googlefonts-ar_AR.mo 5.43kB No known conflicts with other themes or plugins.
wp-content/plugins/sw-google-fonts/languages/googlefonts-ar_AR.po 7.96kB No known conflicts with other themes or plugins.
wp-content/plugins/sw-google-fonts/languages/googlefonts-fr_FR.mo 5.32kB No known conflicts with other themes or plugins.
wp-content/plugins/sw-google-fonts/languages/googlefonts-fr_FR.po 9.23kB No known conflicts with other themes or plugins.
wp-content/plugins/sw-google-fonts/languages/googlefonts-it_IT.mo 4.87kB No known conflicts with other themes or plugins.
wp-content/plugins/sw-google-fonts/languages/googlefonts-it_IT.po 7.42kB No known conflicts with other themes or plugins.
wp-content/plugins/sw-google-fonts/languages/googlefonts.po 5.17kB No known conflicts with other themes or plugins.
wp-content/plugins/sw-google-fonts/readme.txt 833.00B No known conflicts with other themes or plugins.
wp-content/plugins/sw-google-fonts/scripts/ No known conflicts with other themes or plugins.
wp-content/plugins/sw-google-fonts/styles/ 927.00B No known conflicts with other themes or plugins.
wp-content/plugins/sw-google-fonts/styles/gf-style.css 927.00B No known conflicts with other themes or plugins.
wp-content/plugins/sw-google-fonts/sw-google-fonts.php 43.83kB No known conflicts with other themes or plugins.
wp-content/plugins/sw-google-fonts/webfonts.php 98.88kB No known conflicts with other themes or plugins.

Which new shortcodes does Google Fonts add to WordPress?

Which new database tables are created by the WordPress plugin Google Fonts?

Which new options are added to the wp-options table by Google Fonts?

Option Name   Known Conflicts
wp_google_fonts_global_notification Potential conflict with 1 plugin or theme
swgooglefonts_options The swgooglefonts_options option doesn't have any known conflicts with other themes or plugins.

During use Google Fonts may or may not create more options depending on how the plugin is configured and depending on which other themes and plugins are active in your specific hosting environment.

What new PHP functions does Google Fonts declare when it is active?

Using Google Fonts from the command line with WP-CLI

The following commands are provided for convenience and should only be used if you understand how WP-CLI works. These commands refer to a single WordPress instance and may need to be modified if you are working with a Multisite installation.


How to install Google Fonts from the command line with WP-CLI

Navigate to the root of your WordPress installation and type the following command:

wp plugin install sw-google-fonts


How to activate Google Fonts from the command line with WP-CLI

To immediately activate Google Fonts after WP-CLI downloads the latest version you can use the following command:

wp plugin install sw-google-fonts --activate


How to reinstall Google Fonts from the command line with WP-CLI

To force a reinstallation of Google Fonts which overwrites the current plugin without asking for confirmation you can use the following command:

wp plugin install sw-google-fonts --force


How to update Google Fonts to the latest version from the command line with WP-CLI

wp plugin update sw-google-fonts


How to delete Google Fonts from the command line with WP-CLI

wp plugin delete sw-google-fonts

Where can you download earlier versions of Google Fonts?

Whenever possible you should use the latest version of plugins and themes, however if you have recently updated and discovered that you need to install an earlier version you may be able to download other versions of Google Fonts from the WordPress repository by visiting this link.

Please note that installing earlier versions of a theme or plugin is not generally a recommended course of action for most users and could re-introduce security, stability or other issues in Google Fonts

About our testing enviroment

Tests were conducted using Apache 2.4.29, PHP 7.2 on Ubuntu 18.04, MySQL 5.7.33 and WordPress 5.9

It is very possible that different versions of PHP such as PHP 8.0, PHP 7.4, or PHP 7.3 could behave differently with Google Fonts. Different versions of WordPress could implement the features of this plugin in slightly different ways as well.