WordPress.org

Plugin Directory

Remove Google Fonts – Disable, Block, or Replace with Bunny Fonts for GDPR Compliance

Remove Google Fonts – Disable, Block, or Replace with Bunny Fonts for GDPR Compliance

Опис

Are you looking to remove Google Fonts from your WordPress site for better GDPR compliance and faster loading times? This plugin allows you to disable Google Fonts entirely, block Google Fonts from loading, or seamlessly replace Google Fonts with Bunny Fonts—a privacy-focused, GDPR-compliant alternative that claims full data protection .

Google Fonts can slow down your site and raise privacy concerns by tracking users via external requests. With this plugin, you can eliminate these issues without breaking your design. Simply activate the plugin, configure the settings, and check your site’s source code to confirm—Google Fonts will be gone or replaced.

Whether you’re using Elementor, Divi, WP Bakery, or any theme, this plugin helps you remove Google Fonts efficiently. It’s lightweight, easy to use, and optimized for performance.

Key Benefits

  • GDPR Compliance: Stop external Google Fonts requests to avoid data privacy risks.
  • Improved Page Speed: Disable Google Fonts to reduce HTTP requests and load times.
  • Easy Replacement: Switch to Bunny Fonts, a drop-in Google Fonts alternative.
  • Flexible Options: Choose to remove, disable, block, or replace based on your needs.
  • Broad Compatibility: Works with most themes and page builders.

If the plugin can’t handle inline styles, consider our companion plugin EasyFonts to download and host Google Fonts locally on your domain for ultimate privacy and speed.

How It Works

  1. Replace Mode: Swaps fonts.googleapis.com and fonts.gstatic.com links with Bunny Fonts equivalents.
  2. Remove/Disable Mode: Uses PHP buffering and regex to strip out Google Fonts links, @font-face, @import, and scripts from HTML.
  3. JS Fallback: Optional JavaScript removal for stubborn fonts loaded dynamically.

This plugin is perfect for users searching to remove Google Fonts, disable Google Fonts, or find a GDPR-friendly solution.

Privacy Policy

This plugin uses the Appsero SDK to collect telemetry data with user consent. This data helps us debug issues and improve the plugin. No data is collected without your explicit approval. Appsero complies with GDPR and does not share personal information.

Снимци екрана

Постављање

  1. Download and unzip the plugin archive.
  2. Upload the plugin folder to your /wp-content/plugins/ directory.
  3. Activate the plugin via the ‘Plugins’ menu in WordPress.
  4. Go to Settings > Remove Google Fonts to configure options (replace with Bunny Fonts, disable/remove Google Fonts, or use JS removal).
  5. Save changes and verify by inspecting your site’s source code—no more Google Fonts!

ЧПП

How do I remove Google Fonts from my WordPress site?

Enable the „Remove Google Fonts“ option in the plugin settings. This will block and strip all Google Fonts from your HTML using efficient PHP methods.

Can this plugin disable Google Fonts loading completely?

Yes! The „Remove Google Fonts“ feature disables Google Fonts by removing links, imports, and font-face declarations. For dynamic loads, enable the JavaScript option.

Does it replace Google Fonts with a GDPR alternative?

Absolutely. Turn on „Replace Google Fonts“ to swap them with Bunny Fonts, which is designed as a privacy-safe, GDPR-compliant drop-in replacement.

Will this work with Elementor, Divi, or WP Bakery?

Yes, it’s compatible with most page builders and themes. It can disable Google Fonts in Elementor, remove them from Divi, and block them in WP Bakery.

What if Google Fonts are inline or not replaced?

This plugin targets external loads. For inline styles, use EasyFonts to host fonts locally.

Is Bunny Fonts really GDPR compliant?

Bunny Fonts claims to be fully GDPR-friendly with no tracking. Check their GDPR details for more info.

Does this improve site speed?

By removing or replacing external Google Fonts, you reduce requests, which can significantly boost page speed and performance scores.

Прегледи

27. јун 2023.
Placing huge banners with your affiliate links in the wp-admin is a NO-NO. Just unacceptable. For a plugin that is „privacy-focused“, that is a complete opposite of what you’re supposed to do.
12. април 2023.
Very good addon, works better than any other comparable. All Google Fonts are recognised – except of course those that are used by externally integrated Google Tools like Reviews or Maps, but for that you need a Cookie Consent Banner anyway. Recommendation.
Види сва 3 прегледа

Сарадници и градитељи

„Remove Google Fonts – Disable, Block, or Replace with Bunny Fonts for GDPR Compliance“ је софтвер отвореног кода. Следећи људи су допринели овом додатку.

Сарадници

„Remove Google Fonts – Disable, Block, or Replace with Bunny Fonts for GDPR Compliance“ је преведен на 2 језика. Хвала преводиоцима за њихове доприносе.

Преведите „Remove Google Fonts – Disable, Block, or Replace with Bunny Fonts for GDPR Compliance“ на свој језик.

Заинтересовани сте за градњу?

Прегледајте код, проверите SVN складиште или се пријавите на белешку градње преко RSS-а.

Белешка о изменама

1.7

  • Fixed: the @import removal pattern was broken and never matched @import url(...) statements; Google Fonts loaded via @import are now correctly removed.
  • New: „Verify“ button on the settings page — fetches your homepage and reports any Google Fonts references still present (links, @import, @font-face, scripts), with a pointer to EasyFonts for inline styles this plugin can’t rewrite.
  • Improved: Remove mode now also strips orphaned dns-prefetch/preconnect/prefetch resource hints pointing to fonts.googleapis.com or fonts.gstatic.com, regardless of attribute order, so no connection to Google is opened at all.
  • Improved: Replace mode now rewrites dns-prefetch hints to fonts.gstatic.com to Bunny Fonts (previously only crossorigin preconnect/prefetch tags were handled, leaving hints that still pinged Google).
  • Improved: Google Fonts domains registered via wp_resource_hints are removed before output in remove mode.
  • Fixed: text domain now consistently matches the plugin slug (use-bunnyfont-host-google-fonts) for proper translation loading.
  • Fixed: the EasyFonts install link on the settings page pointed to a malformed URL.
  • Housekeeping: brand links updated to fluxpress.io; asset versions now follow the plugin version.

1.6

  • Refactored to OOP structure for better maintainability and performance.
  • Optimized regex patterns for faster font removal.
  • Enqueued admin assets professionally (styles and scripts).
  • Improved code organization and best practices.

1.5

  • Added support for Smart Slider and Groovy Menu.
  • Fixed minor issues.

1.4

  • Improved font removal efficiency.

1.3

  • Minor bug fixes.

1.2

  • Added options to replace and remove Google Fonts.

1.1

  • Enhanced replacement logic.

1.0

  • Initial release.