Use Font Awesome icons from your own host/server. Update the latest releases from GitHub.
Author: | Vee Winch (profile at wordpress.org) |
WordPress version required: | 5.0 |
WordPress version tested: | 6.8 |
Plugin version: | 1.0.3 |
Added to WordPress repository: | 22-01-2022 |
Last updated: | 12-12-2024 |
Rating, %: | 0 |
Rated by: | 0 |
Plugin URI: | https://rundiz.com/?p=319 |
Total downloads: | 1 181 |
Click to start download |
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/
Screenshots
FAQ
ChangeLog