Advanced Settings

OMGF (Pro)’s advanced settings offer ways to fine-tune its behavior and make it work with your specific configuration, e.g. when you’re using a CDN.

Fonts Cache Directory

By default, OMGF uses WordPress' uploads directory. OMGF Pro adds multisite support, and stores generated files separately for each site in the corresponding uploads-folder, e.g. /wp-content/uploads/sites/0)

Fonts Source URL (Only available in OMGF Pro)

Use this option to modify the src attribute of each defined @font-face element in the generated stylesheet. When modifying this option, make sure you enter the full path to where the downloaded font files are served from.

This option makes OMGF Pro flexible enough to work with the most exotic configurations out there. Some examples:

Configure OMGF Pro to use your CDN URL

If your CDN’s URL is and OMGF Pro’s font files are stored in /wp-content/uploads/omgf, then the value to enter here is

Configure OMGF Pro to only use the Relative Path in the stylesheet

When you’re developing a website on another server, using a different URL, it’s best to make OMGF Pro generate the stylesheet using Relative URLs. This will save you a headache when migrating the website to its production environment.

A relative path is the path defined after the domain. If your site’s staging URL is and OMGF Pro’s font files are stored in /wp-content/uploads/omgf then you can configure OMGF Pro to only use relative paths while generating the stylesheet by entering the following value: /wp-content/uploads/omgf.

Configure OMGF Pro to serve font files from alternate paths (using e.g. Nginx/Apache rewrites, etc.)

Some security plugins (e.g. WP Hide) use obscurity to secure your WP install. This basically means making the WordPress’ folder names (e.g. wp-content, uploads, themes, etc.) unrecognizable to visitors. You can use the flexibility of the Fonts Source URL option to make OMGF Pro work with these configurations.

Let’s say your security plugin rewrites requests to /app to /wp-content and requests to attachments are rewritten to uploads and OMGF Pro stores its fonts in /wp-content/uploads/omgf. This would mean that the path OMGF should use in the stylesheet is /app/attachments/omgf.

Remove Settings/Files At Uninstall (default: off)

If you want to uninstall the plugin and all of it’s files and settings, check this setting and save changes, before removing the plugin.

Shopping Cart
  • Your cart is empty.