Rundiz Font Awesome

Rundiz Font Awesome Install Statistics

0
100%
Today: 0 Yesterday: 0 All-time: 799 downloads
Rundiz Font Awesome Icon

Try plugin: Rundiz Font Awesome

We'll create fresh WordPress site with Rundiz Font Awesome installed. You have 20 minutes to test the plugin after that site we'll be deleted.

Takes ~10 seconds to install.

About Rundiz Font Awesome

Use Font Awesome from your host and update from GitHub.

0


0


0


0


0

updated: 2 years ago
since: 2 years ago
author: Vee Winch

Description

Use Font Awesome icons from your own host/server. Update the latest releases from GitHub.

Choose the major version and install the latest minor version. For example: Choose major version 6, and install the latest of 6.x.xx.
Currently supported for version 4, 5, 6.

This plugin did not use CDN (content delivery network). If you want to use CDN, please use official Font Awesome plugin instead.

You can dequeue duplicated Font Awesome handles from other plugins or themes to prevent conflict.

You can disable enqueue from this plugin in case you would like to do it manually.
To get asset files for manually enqueue, use this code.

if (function_exists('rdfontawesome_get_enqueue_files')) {
    $result = rdfontawesome_get_enqueue_files();
    if (isset($result['css']) && is_array($result['css'])) {
        $faVersion = ($result['faVersion'] ?? false);
        foreach ($result['css'] as $css) {
            wp_enqueue_style('myplugin_fontawesome', $css, [], $faVersion);
        }
        unset($css, $faVersion);
    }
}

To get URL base of the Font Awesome assets for use another files, use this code.

if (function_exists('rdfontawesome_get_public_url_base')) {
    echo rdfontawesome_get_public_url_base();
}

Font Awesome files are belong to https://fontawesome.com/