You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* this function requires that Elegant Custom fonts is NOT installed.
* the point is to declare @font-face declarations *manually* in css.
* all this does is piggy-back on ECF plugin class being compatible with Oxygen Builder, in order to inject custom font declarations into Oxygen Builder's font selector.
* again: you have to remember to declare the font family names, url's and weights *manually* in separate CSS files
* this code was directly inspired by Matthias Altman's snippet found here: https://www.altmann.de/en/blog-en/code-snippet-integrate-custom-fonts-into-oxygen-en/
*/
if (!class_exists('ECF_Plugin')) :
class ECF_Plugin {
// this function is apparently called within Oxygenbuilder if the ECF_Plugin class is active.