=== Custom Fonts ===
Contributors: brainstormforce
Donate link: https://www.paypal.me/BrainstormForce
Tags: Beaver Builder, Elementor, Astra, woff2, woff, ttf, svg, eot, otf, Custom Fonts, Font, Typography
Requires at least: 4.4
Tested up to: 5.2
Stable tag: 1.1.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Custom Fonts allows you to add more fonts that extend formatting options in your site.

== Description ==

This plugin helps you easily embed custom fonts files (woff2, woff, ttf, svg, eot, otf) easily in your WordPress website. 

Currently, it works with:

* <a href="https://wpastra.com/?utm_source=wp-repo&utm_campaign=custom-fonts&utm_medium=description">Astra Theme</a>
* <a href="https://www.wpbeaverbuilder.com/?fla=713">Beaver Builder Theme</a>
* <a href="https://www.wpbeaverbuilder.com/?fla=713">Beaver Builder Plugin</a>
* <a href="https://elementor.com/?ref=1352">Elementor Page Builder</a>

How does it work?

1. Install the plugin
2. Upload the font files in as many formats as possible for best browser compatibility.
3. And done. You will be able to see the fonts added in the settings of Astra / Beaver Builder / Elementor. Please refer screenshots.

If you're not using any of the supported plugins and theme, you can write the custom CSS to apply the fonts.

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/custom-fonts` directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the 'Plugins' screen in WordPress
3. Use the Appearance -> Custom Fonts -> Add Custom Fonts name, woff2, woff, ttf, eot, otf and svg files.

== Screenshots ==

1. Add new custom font
2. Select your any custom font into the Customizer of Astra Theme


== Changelog ==

= 1.1.0 =
- New: Option to select font-display property.

= v1.0.8 =
- New: Now you can also upload otf fonts.
- Fix: ttf fonts not being uploaded in WordPress media library.

= v1.0.7 =
- Fix: Custom Fonts loading the Block Editor breaking styling of the editor.

= v1.0.6 =
- Improvement: Enqueue the custom fonts in the Blocck Editor to correctly prefiew the custom fonts.

= v1.0.5 =
- Fix: JavaScript error in the Firefox browser not allowing to upload any fonts.

= v1.0.4 =
- New: Added compatibility with Beaver Builder Theme, Beaver Builder Plugin and Elementor.

= v1.0.3 =
- Fix: When two custom fonts are loaded on a site, only one of the fonts will be actually enqueued.

= v1.0.2 =
- White Label support added from the [Astra Pro](https://wpastra.com/pro/) plugin.

= v1.0.1 =
- Improved the design of the Admin UI.
- Changed the plugin name to be Custom Fonts instead of BSF Custom Fonts.

= v1.0.0 =
- Initial release.
