=== Use Any Font | Custom Font Plugin ===
Contributors: dnesscarkey
Tags: custom fonts, font embed, font uploader, any font, embed any font, font uploader, css3 font embed, @font-face embed, font conversion, webfont, ttf, opentype, woff2
Requires at least: 3.0
Tested up to: 5.4.1
Stable tag: 5.10

Embed any custom font in your website. #1 Rated custom fonts plugin by WPMUDev.org with auto converted woff2 compression for faster font loading.

== Description ==
Use any custom fonts you wish and give your site a elegant look. No css knowledge required.

Click <a href="http://dineshkarki.com.np/use-any-font/demo" target="_blank">here</a> for Use Any Font working demo.

Use Any Font gives you freedom to use custom fonts in your website. It is not like other font embed services which gives you countable number of fonts to select from neither the one that stores your font in remote server. You can use any custom fonts if you have its font format (ttf,otf,woff) without being dependent to other's server uptime. You can just upload one format and the rest needed formats to work in all browsers are automatically converted even in woff2 compressed format for latest browsers and faster load time. 

<strong>Features</strong>

* Quick and easy to setup. No css or any rocket science knowledge needed. 
* Support all major browsers including IE, Firefox, Chrome, Safari, IOS, Andriod, Opera and more.
* Font conversion within the plugin interface font uploader and quick font assign interface. You can select pre defined html tags or assign it to custom css.
* Use uploaded custom fonts directly from Wordpress Editor, Gutenberg Editor, 
<a href="http://www.elegantthemes.com/affiliates/idevaffiliate.php?id=39880" target="_blank">Divi Builder</a>, 
<a href="https://wordpress.org/plugins/siteorigin-panels/" target="_blank">Site Origin Page Buider</a>, 
<a href="https://wordpress.org/plugins/elementor/" target="_blank">Elementor Page Builder</a>,
<a href="https://www.wpbeaverbuilder.com/?fla=2054&campaign=use-any-font" target="_blank">Beaver Builder</a>, 
<a href="https://themify.me/member/aff/go/dnesscarkey/?cr=aHR0cHM6Ly90aGVtaWZ5Lm1lL2J1aWxkZXI=" target="_blank">Themify Builder</a>,
<a href="https://oxygenbuilder.com/" target="_blank">Oxygen Builder</a>,
<a href="https://wordpress.org/themes/generatepress/" target="_blank">Generate Press</a>,
<a href="https://wordpress.org/themes/astra/" target="_blank">Astra Theme</a>,
<a href="https://wordpress.org/themes/oceanwp/" target="_blank">Ocean WP Theme</a>,
<a href="https://bit.ly/3auJKzt" target="_blank">Revolution Slider</a>,
and any visual builder using the class. 
* Custom fonts uploaded can be directly used from Theme options panel for major themeforest themes like <a href="https://bit.ly/3auJKzt" target="_blank">Avada, X Theme, Flatsome, Salient, Porto, Shopkeeper, Oshine, WPLMS Learning Management System Theme, KLEO, WoodMart, ListingPro, SimpleMag, ROSA 1, 907, Voice, Grand Restaurant, LeadEngine, Service Finder, MagPlus, Hostiko, Adifier, Puca, GreenMart, Reco, VidoRev, Halena and many more known themes. (1000+). Check out full list here.</a>
* Supports font format including ttf, otf, woff. The required fonts are converted automatically.
* Accepts custom font file upto 25 MB.
* Embed fonts using @font-face css. SEO friendly and quick loading due to woff2 compression.
* Multiple custom fonts can be used.
* Faster load time as your custom fonts are stored on your own server.
* Supports font assign based on language for WPML and Polylang multi language plugin.

<strong>Support</strong>

* <a href="http://dnesscarkey.com/virtual-support/use-any-font.php" target="_blank">Virtual Support</a> to solve common issues. It covers almost 80% of repeated issues.
* <a href="http://dineshkarki.com.np/forums/forum/use-any-fonts" target="_blank">Support Forum</a> to quickly resolve your issues.

You need API key to connect to our server for font conversion. Our server converts your font and sends it back. 

You can get key from <a href="https://dineshkarki.com.np/use-any-font/api-key" target="_blank">here</a>. You can also generate Lite / Test API key from button at top of the plugin page. <strong>Note : </strong> Lite / Test API only allow single font conversion.

<strong>Installation Video</strong>
[youtube http://www.youtube.com/watch?v=QzGaWIPVwEk]

Note : We don't store your fonts in our server neither any of your information except the API key details. Our server deletes the temporary file after the conversion is done.

We don't respond to support tickets created here. Please visit our <a href="http://dineshkarki.com.np/forums/forum/use-any-fonts" target="_blank">support forum</a> for your issues. 

<strong>Integration for Themes / Plugin Developers</strong>

You can use <strong>uaf_get_font_families();</strong> function to get the list of custom fonts uploaded with Use Any Font. You can add it in your font family select box or list.

<em>if (function_exists('uaf_get_font_families')){
	$uaf_font_families = uaf_get_font_families();	// Returns Array
}</em>

Please do write us after integration and we will add it in our supported list and create a discount code for your users.

== Installation ==

1. Upload the plugin use-any-font files to the `/wp-content/plugins/` directory
1. Activate the use-any-font plugin through the 'Plugins' menu in WordPress.
1. Get the API key and verify it (Needed to connect to server for font conversion).
1. Select Use Any Font under Settings
1. Upload your custom font.
1. Assign your font to element.
1. You can also assign the custom font directly from wordpress page/post editor.
1. Your fonts are working in your site now.
1. You may refer to Screenshots tab for visual instructions.

== Frequently Asked Questions ==

= Which font format does plugin accepts and the font size ? =

Currently, ttf, otf, woff font format are accepted. Font file upto 25MB is acceptable. However, we suggest you to use smaller ones as far as possible. The font file size directly affects your site load time. 

= From where can i get the font files ? =

Mostly you can download the font files from internet. There are many sites that offer fonts. One of font directory we really like is <a href="https://bit.ly/2wYjOyj" target="_blank">Ultimate Fonts</a>. They only have free fonts which are even free for commercial use.

= Does it works with multiple fonts ? =

Ya, it works with multiple fonts. For multiple font conversion request, you need to get the Premium Key.

= Do i need to manually convert fonts ? =

No, you don't need to do it yourself. Just upload your font(supports most of the font format), and the plugin does the rest.

= Does it work with Visual Builder like Divi Builder ? =

Ya, it works with any visual builder. For that you can assign class to those elements. Class name are same as font name. Also, we have full support for Divi Builder and SiteOrigin Page Builder. You can assign fonts using their font family dropdown. 

You can check video for more details.
<a href="http://www.elegantthemes.com/affiliates/idevaffiliate.php?id=39880" target="_blank">Divi Builder</a> : https://www.youtube.com/watch?v=Y24TtwNHFMY
<a href="https://wordpress.org/plugins/siteorigin-panels/" target="_blank">Site Origin Page Buider</a> : https://www.youtube.com/watch?v=dA-iXWZSCYs

= Does it works with any theme ? =

Its built-in Font Upload and Font assign section allows you to assign custom fonts to any theme. However, for popular themes like <a href="https://bit.ly/3auJKzt" target="_blank">Avada, X Theme, Flatsome, Salient, Porto, Shopkeeper, Oshine, WPLMS Learning Management System Theme, KLEO, WoodMart, ListingPro, SimpleMag, ROSA 1, 907, Voice, Grand Restaurant, LeadEngine, Service Finder, MagPlus, Hostiko, Adifier, Puca, GreenMart, Reco, VidoRev, Halena and many more known themes. (1000+). Check out full list here.</a>, we have added extra features that allows you to assign the custom font to your theme using the theme options panel.

= Can I assign font based on language ? =
Ya, Our plugin allows you to assign font based on language. It currently supports WPML and Ploylang. If you are using some others multi lingual plugin, please do contact us and we will try to integrate with our plugin.

= Where are my fonts stored ? =

All the fonts are stored in your own server. Our server only convert the fonts and sends back. 

= Does my font depends upon plugin's server uptime ? =

No, our server is needed during font conversion only. After that all fonts are served from your own server. 

= Not working for me. What can i do ? =

<a href="http://dnesscarkey.com/virtual-support/use-any-font.php" target="_blank">Virtual Support</a> to solve common issues. It covers almost 80% of repeated issues.
<a href="http://dineshkarki.com.np/forums/forum/use-any-fonts" target="_blank">Support Forum</a> to quickly resolve your issues.
<a href="http://dineshkarki.com.np/rectify-my-problem" target="_blank">Rectify My Problem</a> for personal assitance.

= How can theme / plugin developer integrate Use Any Font ? =
You can use <strong>uaf_get_font_families();</strong> function to get the list of custom fonts uploaded with Use Any Font. You can add it in your font family select box or list.

<em>if (function_exists('uaf_get_font_families')){
	$uaf_font_families = uaf_get_font_families();	// Return Array
}</em>

Please do write us after integration and we will add it in our supported list.

== Screenshots ==

1. Screenshot #1. Use Any Font Demo
1. Screenshot #2. Use Any Font Plugin Setup
1. Screenshot #3. Assign font directly from Wordpress Editor
1. Screenshot #4. Font list not showing in editor.
1. Screenshot #5. Disable font list in editor.
1. Screenshot #6. Assign fonts to custom elements.

== Changelog ==

= 5.10 =
* Added support for Gutenberg Editor using class.
* Added support for Revolution Slider. Now you can select font family directly from Revolution slider to assign font.

= 5.9 =
* Support for all themes that uses Redux and kirki framework. Full list <a href="https://bit.ly/3auJKzt" target="_blank">here</a>.

= 5.6 =
* Added support for Generate Press, Astra and Ocean WP Theme.
* Added setting For Font Display (swap, fallback, block)

= 5.5 =
* Assign font based on language for WPML & Polylang multi lingual plugins.

= 5.4 =
* Font upload supported upto 25 MB.
* Use of woff2 compression for better and faster font loading.

= 5.3 =
* Fixed domain verification issue.

= 5.2 =
* Added menu option in elements list.

= 5.1 =
* Fix url issue.

= 5.0 =
* New API Key system, Lite / Test API key generation from plugin page.

= 4.9.2 =
* Adds custom fonts to typography of Themify and Beaver Page Builder

= 4.9.1 =
* Adds custom fonts to typography of Elemenator Page Builder

= 4.7.3 =
* Adds custom fonts to theme options panel for themes like Avada, Salient, Oshine, X Theme, KLEO. (540+ Themes in total)

= 4.7.2 =
* SiteOrigin Page Builder Support

= 4.7.1 =
* Divi Theme Issue Fixes.

= 4.7 =
* Full Support For Divi Admin Visual Builder
* Use of relative path as default nowonwards
* Alternative server selection for font upload and API verification.

= 4.6 =
* Directly assign font to element using the class identical to font name.

= 4.5.1 =
* Fixed form validation js error.

= 4.5 =
* Fixed SSL font loading issue.

= 4.4.4 =
* Font upload issue fixed.

= 4.4.3 =
* Fixed couldn't receive font file issue.

= 4.4.2 =
* Fixed API verification issue

= 4.4.1 =
* Fixed SSL API key issue


= 4.3.7 =
* Secure file upload URL for Default Js Uploader

= 4.3.6 =
* Fixed validation for PHP uploader
* Sanitize font name 
* Test with 4.3.1

= 4.3.5 =
* Fixed host name lookup issue
* Added SSL for font upload path
* Test with 4.3

= 4.3.4 =
* License key trim added. 

= 4.3.3 =
* Font convertor url change.

= 4.3.2 =
* Added relative font path settings. 
* Added Css version system.

= 4.3.1 =
* Add js extension validation for font file.

= 4.3 =
* Ajax Font Upload
* Fixed Couldn't receive font file for conversion issue.

= 4.2.4 =
* Font size increase to 10 MB
* Fixed js validation issue.
* Add server side validation for font file.

= 4.2.3 =
* Removed rarely used font formats from being upload. They were making font onvertor server down repeatedly.
* Fixed name validation issue

= 4.2.2 =
* Tested to work with wordpress 4.0
* Jquery Validation Plugin Updated

= 4.2.1 =
* Using wp_remote_get inplace of wp_remove_fopen for API Key

= 4.2 =
* Compatible with 3.9
* Fixed font list issue in editor for 3.9

= 4.1.1 =
* Minor update
* Added font formats (dfont, suit)
* Updated FAQ and Screenshots.
* Tested with 3.8.1

= 4.1 =
* Added Support for SSL (https)
* Additional settings to disbale font list in wordpress editor.
* Tested with 3.8

= 4.0 =
* Added Network Site Support
* Assign font directly from Wordpress Editor

= 3.2 =
* Tested with 3.5.2

= 3.1 =
* Minor update
* Add woff and svg font format

= 3.0 =
* Major update
* Supports more font format now.
* Better error handling
* Added hyperlink (a tag) in default element select.

= 2.1 =
* Added file upload validation.

= 2.0 =
* Added server connectivity test.

= 1.1 =
* Fixed font not loading issue when there is space in font file name.
* Added Instructions in Plugin Interface.

= 1.0 =
* First Release