Title: Replace Google Fonts with Bunny Fonts
Author: Antonio Leutsch
Published: <strong>5. August 2022.</strong>
Last modified: 6. Decembar 2022.

---

Search plugins

![](https://ps.w.org/replace-google-fonts-with-bunny-fonts/assets/banner-772x250.
png?rev=2766758)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/replace-google-fonts-with-bunny-fonts/assets/icon-256x256.png?
rev=2766758)

# Replace Google Fonts with Bunny Fonts

 By [Antonio Leutsch](https://profiles.wordpress.org/antonioleutsch/)

[Download](https://downloads.wordpress.org/plugin/replace-google-fonts-with-bunny-fonts.2.1.2.zip)

 * [Details](https://me.wordpress.org/plugins/replace-google-fonts-with-bunny-fonts/#description)
 * [Reviews](https://me.wordpress.org/plugins/replace-google-fonts-with-bunny-fonts/#reviews)
 *  [Installation](https://me.wordpress.org/plugins/replace-google-fonts-with-bunny-fonts/#installation)
 * [Development](https://me.wordpress.org/plugins/replace-google-fonts-with-bunny-fonts/#developers)

 [Support](https://wordpress.org/support/plugin/replace-google-fonts-with-bunny-fonts/)

## Description

Replace Google Fonts with Bunny Fonts in the HTML Markup of your WordPress site.

It also replaces the preconnects with the correct ones.

To disable creating a preconnect to fonts.bunny.net, add the following line to your
functions.php:

    ```
    add_filter('al_bunny_insert_al_bunny_preconnect', '__return_false');
    ```

To disable removing the google fonts preconnect, add the following line to your 
functions.php:

    ```
    add_filter('al_bunny_remove_google_preconnect', '__return_false');
    ```

To disable removing the google fonts dns-prefetch, add the following line to your
functions.php:

    ```
    add_filter('al_bunny_remove_google_prefetch', '__return_false');
    ```

#### Supported Cache Plugins

 * Autoptimize
 * SiteGround Optimizer
 * Swift Performance Lite
 * W3 Total Cache
 * WP Fastest Cache Plugin
 * WP Rocket
 * WP Super Cache

## Installation

This section describes how to install the plugin and get it working.

 1. Upload the plugin folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## Reviews

![](https://secure.gravatar.com/avatar/8c6cdabc468c4f0859a8973b97b37ee601f66ce01b3f586546a70396fa6174a8?
s=60&d=retro&r=g)

### 󠀁[not optimal solution](https://wordpress.org/support/topic/not-optimal-solution/)󠁿

 [RazielKanos](https://profiles.wordpress.org/razielkanos/) 28. Februar 2023.

Breaks numerous things, depending on what other plugins you run, so be careful and
test after activating.Unfortunately, no support response after 2,5 months.

![](https://secure.gravatar.com/avatar/f2949e1420c186ba7fe9eafb8f5c406b6b29ddebb639e7c7da6f93d39b784643?
s=60&d=retro&r=g)

### 󠀁[Misleading regarding GDPR / DSGVO](https://wordpress.org/support/topic/misleading-regarding-gdpr-dsgvo/)󠁿

 [Martin Sauter](https://profiles.wordpress.org/martinsauter/) 6. Decembar 2022.
6 replies

This plugin should not be tagged as «DSGVO». The problem with Google Fonts is not
the tracking, but the transmission of the user's IP address to a third party. This
problem exists with any font hosting service, so this plugin does NOT make your 
website GDPR compliant. EDIT: The tag mentioned above has been removed, so my issue
is resolved. However, I would still argue that simply replacing Google Fonts with
another service is not the ideal solution.

![](https://secure.gravatar.com/avatar/9c43f543197e70e4e71162ae9803c23eeecf6b28b6b1a535d13179049a2f7b87?
s=60&d=retro&r=g)

### 󠀁[Broke CSS and SliderRevolution](https://wordpress.org/support/topic/broke-css-and-sliderrevolution/)󠁿

 [ssavitzky](https://profiles.wordpress.org/ssavitzky/) 5. Decembar 2022. 2 replies

After activating the plugin, the SliderRevolution instance at the top of my home
page vanished, along with the site's header. Everything after that was expanded 
to full width instead of being limited in width. Avoid.

![](https://secure.gravatar.com/avatar/f49029eead5992741a6cd7095f9af4b501a30f361c4979205cb479734218ec50?
s=60&d=retro&r=g)

### 󠀁[Does not work](https://wordpress.org/support/topic/does-not-work-1472/)󠁿

 [frankbacka](https://profiles.wordpress.org/frankbacka/) 17. Novembar 2022. 1 reply

sadly it doesnt work, even with adding those Codes to the function.php

![](https://secure.gravatar.com/avatar/c5e78f9a35ea213a3db576c19089fb9b40e00383ccec3be7624aa8a29c420986?
s=60&d=retro&r=g)

### 󠀁[Thanks !](https://wordpress.org/support/topic/thanks-2330/)󠁿

 [MZed](https://profiles.wordpress.org/michelzed/) 16. Novembar 2022.

One more step to… get away from G. 😉

![](https://secure.gravatar.com/avatar/b0ed81fcb6d70b0c3c50c01c338d2171ea05c511d83364ec027c53adbc96ed30?
s=60&d=retro&r=g)

### 󠀁[The easiest way for GDPR-compliant google fonts (without google)](https://wordpress.org/support/topic/the-simpels-way-for-gdpr-compliant-google-fonts-without-google/)󠁿

 [Krzysztof Planeta](https://profiles.wordpress.org/chrisplaneta/) 13. Novembar 
2022.

Simply great. Does exactly what it says in the easiest way possible. It is surprising,
that it is not more popular. I wrote an article about it on my plugin's blog (fullpictureplugin.
com). Maybe it will help. I am thinking also about linking to it from the plugin's
admin pages. It may give you a few installs. Have a great day guys Krzysztof Planeta

 [ Read all 10 reviews ](https://wordpress.org/support/plugin/replace-google-fonts-with-bunny-fonts/reviews/)

## Contributors & Developers

“Replace Google Fonts with Bunny Fonts” is open source software. The following people
have contributed to this plugin.

Contributors

 *   [ Antonio Leutsch ](https://profiles.wordpress.org/antonioleutsch/)

[Translate “Replace Google Fonts with Bunny Fonts” into your language.](https://translate.wordpress.org/projects/wp-plugins/replace-google-fonts-with-bunny-fonts)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/replace-google-fonts-with-bunny-fonts/),
check out the [SVN repository](https://plugins.svn.wordpress.org/replace-google-fonts-with-bunny-fonts/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/replace-google-fonts-with-bunny-fonts/)
by [RSS](https://plugins.trac.wordpress.org/log/replace-google-fonts-with-bunny-fonts/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 2.1.2

 * add polyfill for str_contains() function

#### 2.1.1

 * Adding Array of strings for replacing and removing different spellings of Google
   Fonts

#### 2.1

 * Added support for WP Rocket
 * Added support for WP Super Cache
 * Added support for W3 Total Cache

#### 2.0

 * Added support for WP Fastest Cache Plugin
 * Added support for Autoptimize Plugin
 * added filter to disable dns-prefetch to google fonts
 * change filter name from `al_bunny_insert_al_bunny_preconnect` to `al_bunny_insert_bunny_preconnect`

#### 1.0

 * initial release

## Meta

 *  Version **2.1.2**
 *  Last updated **4 years ago**
 *  Active installations **900+**
 *  WordPress version ** 4.5 or higher **
 *  Tested up to **6.1.0**
 *  PHP version ** 5.6 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/replace-google-fonts-with-bunny-fonts/)
 * Tags
 * [bunny fonts](https://me.wordpress.org/plugins/tags/bunny-fonts/)[google fonts](https://me.wordpress.org/plugins/tags/google-fonts/)
   [replace](https://me.wordpress.org/plugins/tags/replace/)
 *  [Advanced View](https://me.wordpress.org/plugins/replace-google-fonts-with-bunny-fonts/advanced/)

## Ratings

 4.3 out of 5 stars.

 *  [  7 5-star reviews     ](https://wordpress.org/support/plugin/replace-google-fonts-with-bunny-fonts/reviews/?filter=5)
 *  [  1 4-star review     ](https://wordpress.org/support/plugin/replace-google-fonts-with-bunny-fonts/reviews/?filter=4)
 *  [  1 3-star review     ](https://wordpress.org/support/plugin/replace-google-fonts-with-bunny-fonts/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/replace-google-fonts-with-bunny-fonts/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/replace-google-fonts-with-bunny-fonts/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/replace-google-fonts-with-bunny-fonts/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/replace-google-fonts-with-bunny-fonts/reviews/)

## Contributors

 *   [ Antonio Leutsch ](https://profiles.wordpress.org/antonioleutsch/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/replace-google-fonts-with-bunny-fonts/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://paypal.me/antonioleutsch)