Beskrivning
Select up to 5 fonts from the Google Web Font Directory to make available for use in stylesheets.
More Info
** This plugin does not automatically change your fonts, only enqueue’s the font import stylesheet. Edit your theme or child theme stylesheet to use your chosen fonts **
Google Web Fonts for WordPress Plugin Home
For more control over imported fonts, read How to Use Web Fonts with WordPress.
Installation
- Upload and activate Google Web Fonts for WordPress.
- Navigate to the Theme Customizer.
- Choose your fonts from the dropdown list of all the fonts available and save your selections.
- Add the provided css font-family properties code to your theme or child theme stylesheet.
Vanliga frågor
- My font is not showing up
-
If you have added the font family rule to the correct element in your stylesheet, try adding some specificity.
When styling a logo link with the class of .logo, I might add the #header id if I was having problems with strong specificity.
- header .logo {
-
font-family: ’Six Caps’;
font-size: 1.5em; /* Adjustments to font sizes may be needed. */
}
Recensioner
Detta tillägg har inga recensioner.
Bidragsgivare och utvecklare
”Google Web Fonts for WordPress” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.
Bidragande personerÖversätt ”Google Web Fonts for WordPress” till ditt språk.
Intresserad av programutveckling?
Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.
Ändringslogg
3.0
- Another Rebuild!
- License update to GPLv3
- Uses Customizer UI
- Fixed error caused by remote file_get_contents being disabled
- Register activation hook to remove theme mods no longer used
- Updated Read Me to emphasize that plugin only enqueues import stylesheet with chosen fonts
2.0
- Complete rebuild
- List of fonts in dropdown, saved as transients from the Developer API.
- Font preview link to Google Web Font Directory info for the font.
- Allow enabling/disabling of fonts.
- Save options in theme_mods
2.0.1
- Set font api transiet timeout to 24 hours.
2.0.2
- Bug Fixes
- Added initial Render Framework support
2.0.3
- Readme Updated
2.0.4
- Remove deactivation hook