Typography with Google Fonts Field for Advanced Custom Fields
- Google Font Family
- Google Font Weight
- Backup Font Family
- Text Align
- Text Direction
- Font Style
- Font Size
- Line Height
- Letter Spacing
- Text Color
- and Live Preview Fonts
This ACF field type is compatible with:
- ACF 5
-
Copy the
acf-typography
folder into yourwp-content/plugins
folder -
Activate the Advanced Custom Field: Typography plugin via the plugins admin page
-
Create a new field via ACF and select the Typography type
-
Please refer to the description for more info regarding the field type settings
-
If you would like the list to be pulled from the Google API you will need to define your API key. You can do this in the theme's function file for example.
define( 'YOUR_API_KEY', '**your_google_api_key**' );
just head on over to the Google API Console, create a new project and get a browser api key.
See changelog on CHANGELOG.md file.