-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreadme.txt
70 lines (48 loc) · 1.96 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
=== Replace Google Fonts with Bunny Fonts ===
Contributors: antonioleutsch
Donate link: https://paypal.me/antonioleutsch
Tags: google fonts, bunny fonts, replace
Requires at least: 4.5
Tested up to: 6.1.0
Requires PHP: 5.6
Stable tag: 2.1.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Replace Google Fonts with Bunny Fonts in the HTML Markup of your WordPress site.
== 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
1. Activate the plugin through the 'Plugins' menu in WordPress
== 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