Ed's Font Awesome

描述

The ultimate Font Awesome plugin for WordPress. Use all of the free font awesome icons in one place.

Features:

  • Basic icon shortcode with style, name, size, and color
  • Mask icons — combine any two icons
  • Mask circle icons — place any icon inside a circle
  • Rotate and flip icons
  • NEW: Animated icons — spin, pulse, beat, fade, bounce, flip, shake
  • NEW: Layered/stacked icons — stack icons, text, and counters
  • NEW: Icon links — wrap any icon in a clickable link
  • NEW: Color attribute — set icon color on any shortcode
  • Font Awesome 6.7.2 included

1.0.2

  • Added option for size to require only size attribute without fa- prefix.

1.0.3

  • Removed unecessary font-awesome files for thinner plugin size.

1.0.4

  • Added Spin feature and mask feature.

1.0.5

  • Updated Instructions

2.0

  • Updated Font Awesome to vs. 6.7.2. This version Adds X social media icon

2.1

  • Security fix: Sanitized and escaped all shortcode attribute outputs to prevent Stored XSS (CVE-2026-2496)
  • Applied esc_attr() to all shortcode HTML attribute outputs
  • Applied esc_html() to admin notice helper function
  • Tested up to WordPress 6.8

3.0.1

  • Security: Confirmed all shortcode attributes properly escaped with esc_attr(), esc_html(), esc_url()
  • Version bump to clearly differentiate from vulnerable v2.0 (CVE-2026-2496)

3.0

  • NEW: Animated icons shortcode [eds_fa_spin] — spin, pulse, beat, fade, bounce, flip, shake
  • NEW: Layered/stacked icons [eds_fa_layers] with [eds_fa_layer_icon], [eds_fa_layer_text], [eds_fa_layer_counter]
  • NEW: Icon link shortcode [eds_fa_link] — wrap any icon in a clickable link
  • NEW: Color attribute added to all icon shortcodes
  • Improved: Admin scripts only load on plugin pages (no longer on every admin page)
  • Improved: Cleaner code structure with constants and security best practices
  • Updated dashboard with full shortcode reference and live previews

屏幕截图

安装

  1. Unzip the plugin file
  2. Upload the folder eds-font-awesome-plugin and it’s contents to the /wp-content/plugins/ directory
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. Lookup the free font awesome icons available at Font Awesome Gallery.
  5. Copy the Shortcode sytle and name.
    (ex. [efa_font_awesome style="fas" name="flag-checkered" size="2x"])
    next to your new list and embed it anywhere in your website. Note: You don’t need to add the fa- prefix before the name of the icon. Just enter the name of the font.
  6. Size is optional but if you want a larger size then you’ll need to add the size attribute. The sizing, from smallest top largest are as follows:
    2xs, xs, sm, lg, xl, and 2xl
    You can find more information on sizing at: Sizing
  7. Plugin shortcode and enjoy.

常见问题

How often will this plugin be updated

We check our plugin frequently so as soon as there are updates to WordPress we make the necessary updates.

评价

此插件暂无评价。

贡献者及开发者

「Ed's Font Awesome」是开源软件。 以下人员对此插件做出了贡献。

贡献者

「Ed's Font Awesome」插件已被翻译至 1 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「Ed's Font Awesome」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0.1

  • Updated tested versions to include WordPress 5.6.1
  • Improved security