跳到内容

Rundiz Font Awesome

v1.0.9

vee · 2022年1月22日 上架

Use Font Awesome from your host and update from GitHub.

正在使用
10+
评分
暂无
累计下载
2,701
最近更新
2026年8月22日
需要 WordPress 5.0+已测试到 7.1.5PHP 7.0+

贡献者

截图

Settings page.
Settings page.

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

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);
        $i = 1;
        foreach ($result['css'] as $css) {
            wp_enqueue_style('myplugin_fontawesome_' . $i, $css, [], $faVersion);
            ++$i;
        }
        unset($css, $faVersion, $i);
    }
}

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();
}

Tested up to PHP 8.5.

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

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums