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.
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/