sandywp / plugins / acf-typography-field
Advanced Custom Fields
Typography Field
A Typography Add-on for the Advanced Custom Fields Plugin.
Ready in seconds.
v3.2.3 3,000+ installs WP 3.5.0+

What you get inside
3 screens-
Typography Field Settings
-
Typography Field Content Editing
-
Google Key Field required for Google Fonts
About this plugin
Typography field type for “Advanced Custom Fields” plugin that lets you add different text properties e.g. Font Size, Font Family, Font Color etc.
Supported Subfields
- Font Size
- Font Family
- Font Weight
- Font Style
- Font Variant
- Font Stretch
- Line Height
- Letter Spacing
- Text Align
- Text Color
- Text Decoration
- Text Transform
Other Features
- Supports Google Fonts. The selected Google Fonts are automatically enqueued on front-end of posts/pages. Google Fonts also work with ACF Options.
- Supports Gutenberg Blocks created with ACF.
- Option to show/hide each subfield individually
- Option to make each subfield required individually
- Color Picker for Text Color subfield
Documentation
// Returns the value of a specific property
get_typography_field( $selector, $property, [$post_id], [$format_value] );
// Displays the value of a specific property
the_typography_field( $selector, $property, [$post_id], [$format_value] );
// Returns the value of a specific property from a sub field.
get_typography_sub_field( $selector, $property, [$format_value] );
// Displays the value of a specific property from a sub field.
the_typography_sub_field( $selector, $property, [$format_value] );
Shortcode
[acf_typography field="field-name" property="font_size" post_id="123" format_value="1"]
Github repository
Compatibility
This ACF field type is compatible with:
* Free and paid versions of the ACF plugin
Questions
- Q. Is it compatible with ACF Pro?
A. Yes. This plugin is compatiable with both free and paid ACF plugins.
- Q. Does it support Google Fonts?
A. Version 3.0.0 and greater supports Google Fonts
- Q. Why I do not see Google Fonts in the Font Family drop down?
A. Google API Key is required for Google Fonts. Please add one by going to
WordPress Admin Dashboard > Settings > ACF Typography Settings- Q. Does it enqueue selected Google Fonts?
A. Yes. This plugin automatically enqueues user selected Google Fonts to front-end of posts/pages.
- Q. Does it support Gutenberg Blocks?
A. Yes. This plugin does support Gutenberg Blocks created with ACF.
- Q. How can I contribute?
A. Join in on Github repository @mujahidi/acf-typography
sandywp / also on the shelf
Try another plugin
4.5 · 2M+ installs
ACF helps customize WordPress with powerful, professional and intuitive fields. Proudly powering over 2 million sites, WordPress…
ACF Content Analysis for Yoast SEO
4.1 · 100K+ installs
WordPress plugin that adds the content of all ACF fields to the Yoast SEO score analysis.
Advanced Custom Fields: Extended
4.8 · 100K+ installs
All-in-one enhancement suite that improves WordPress & Advanced Custom Fields.
Spin up a real WordPress site in seconds.
Test plugins, build a demo, hand a client a link — then squash it and start again. No local setup, no Docker.