Опис
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
Встановлення
This section describes how to install the plugin and get it working.
- Upload the plugin folder to the
/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
Відгуки
Учасники та розробники
“Replace Google Fonts with Bunny Fonts” — проект з відкритим вихідним кодом. В розвиток плагіну внесли свій вклад наступні учасники:
УчасникиПерекладіть “Replace Google Fonts with Bunny Fonts” на вашу мову.
Цікавитесь розробкою?
Перегляньте код, перегляньте сховище SVN або підпишіться на журнал розробки за допомогою RSS.
Журнал змін
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
toal_bunny_insert_bunny_preconnect
1.0
- initial release