Title: Replace Google Fonts with Bunny Fonts
Author: Antonio Leutsch
Published: <strong>5 août 2022</strong>
Last modified: 6 décembre 2022

---

Recherche d’extensions

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

Cette extension **n’a pas été testée avec plus de trois mises à jour majeures de
WordPress**. Elle peut ne plus être maintenue ou supportée et peut avoir des problèmes
de compatibilité lorsqu’elle est utilisée avec des versions de WordPress plus récentes.

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

# Replace Google Fonts with Bunny Fonts

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

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

 * [Détails](https://fr.wordpress.org/plugins/replace-google-fonts-with-bunny-fonts/#description)
 * [Avis](https://fr.wordpress.org/plugins/replace-google-fonts-with-bunny-fonts/#reviews)
 *  [Installation](https://fr.wordpress.org/plugins/replace-google-fonts-with-bunny-fonts/#installation)
 * [Développement](https://fr.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

## Avis

![](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 février 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 décembre 2022 6
réponses

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 décembre 2022 2 réponses

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 novembre 2022 1 réponse

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 novembre 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 novembre 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

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

## Contributeurs/contributrices & développeurs/développeuses

« Replace Google Fonts with Bunny Fonts » est un logiciel libre. Les personnes suivantes
ont contribué à cette extension.

Contributeurs

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

[Traduisez « Replace Google Fonts with Bunny Fonts » dans votre langue.](https://translate.wordpress.org/projects/wp-plugins/replace-google-fonts-with-bunny-fonts)

### Le développement vous intéresse ?

[Parcourir le code](https://plugins.trac.wordpress.org/browser/replace-google-fonts-with-bunny-fonts/),
consulter le [SVN dépôt](https://plugins.svn.wordpress.org/replace-google-fonts-with-bunny-fonts/),
ou s’inscrire au [journal de développement](https://plugins.trac.wordpress.org/log/replace-google-fonts-with-bunny-fonts/)
par [RSS](https://plugins.trac.wordpress.org/log/replace-google-fonts-with-bunny-fonts/?limit=100&mode=stop_on_copy&format=rss).

## Journal des modifications

#### 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

## Méta

 *  Version **2.1.2**
 *  Dernière mise à jour **il y a 4 ans**
 *  Installations actives **900+**
 *  Version de WordPress ** 4.5 ou plus **
 *  Testé jusqu’à **6.1.0**
 *  Version de PHP ** 5.6 ou plus **
 *  Langue
 * [English (US)](https://wordpress.org/plugins/replace-google-fonts-with-bunny-fonts/)
 * Étiquettes
 * [bunny fonts](https://fr.wordpress.org/plugins/tags/bunny-fonts/)[google fonts](https://fr.wordpress.org/plugins/tags/google-fonts/)
   [replace](https://fr.wordpress.org/plugins/tags/replace/)
 *  [Vue avancée](https://fr.wordpress.org/plugins/replace-google-fonts-with-bunny-fonts/advanced/)

## Évaluations

 4.3 sur 5 étoiles.

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

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

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

## Contributeurs

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

## Support

Quelque chose à dire ? Besoin d’aide ?

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

## Faire un don

Souhaitez-vous soutenir l’avancement de cette extension ?

 [ Faire un don à cette extension ](https://paypal.me/antonioleutsch)