Descriere
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.
Instalare
- 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.
Întrebări frecvente
- 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. */
}
Recenzii
Nu există nicio verificare pentru acest modul.
Contributori și dezvoltatori
„Google Web Fonts for WordPress” este un software open-source. La acest modul au contribuit următoarele persoane.
ContributoriTradu „Google Web Fonts for WordPress” în limba ta.
Te interesează dezvoltarea?
Răsfoiește codul, vezi depozitarul SVN, sau abonează-te la jurnalul de dezvoltare prin RSS.
Istoric modificări
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