Sharraxaad
The plugin will automatically parse all registered styles and import the ressources from Google to your server and load them.
Usage
Simply include the fonts from Google by using wp_enqueue_scripts
.
The plugin will parse the URL from the enqueued stylesheets and detect front from Google.
The files will be downloaded to your server and the CSS will be changed to match the new paths.
You may flush the fonts from your server using the button in the admin bar.
Notes
When using multiple fonts in one style-tag, please make sure to use no load the script without a version, to avoid WordPress from normalizing the URL.
wp_enqueue_style('...', '...', [], null);
As Google will accept the parameter family
multiple times, WordPress will merge them into one.
Be aware, that some caching plugins which also provide minification, may cause this plugin to break, as the fonts will be parsed before the plugin hook.
Rakibaad
- Unzip the downloaded package
- Upload
wp-google-fonts-wrapper
to the/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
Dibu-eegisyo
Ma jiraan wax dibu-eegis ah oo ku saabsan kaabahan.
Ka-qaybgalayaasha & Horumariyayaasha
“Google-Fonts-Wrapper” waa softiweer il furan. Dadka soo socda ayaa wax ku biiriyay kaabahan.
Ka-qaybgalayaashaKu tarjun “Google-Fonts-Wrapper” luqaddaada.
Ma xiisaynaysaa horumarinta?
Baadh koodka, fiiri bakhaarka SVN, ama iska qor diiwaanka horumarinta adigoo adeegsanaya RSS.