This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Elegant Custom Fonts

Description

This plugin appears at Settings -> Fonts.

For each @font-face, specify .woff URL, weight, style, and a font family name.

Appropriate @font-face rules will be saved to a CSS file and enqueued with wp_enqueue_stylesheet, so that you can use the font with the font-family CSS property.

No nonsense. No API keys. No font conversion. No bloat.

Integration Instructions for Plugin & Theme Developers

Use ECF_Plugin::get_font_families() to get a list of font families added with Elegant Custom Fonts. Then add these to any “Font” dropdowns in your plugin or theme.

Example:

if (class_exists(‘ECF_Plugin’)) {
$font_family_list = ECF_Plugin::get_font_families();
} else {
$font_family_list = null;
}

/* loop through the $font_family_list array and add each family to your ‘Font’ dropdowns */

FAQ

Does this plugin work with Joomla?

No.

Reviews

Jawza 18, 2018
This is exactly what I’ve been looking for. Works perfectly, no need for thousands of options. Good job.
Read all 3 reviews

Contributors & Developers

“Elegant Custom Fonts” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Elegant Custom Fonts” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.0.1

  • Fix CSRF vulnerability
  • Fix PHP warnings
  • Update Author URI

1.0

  • Initial release