=== Ed's Font Awesome ===
Contributors:  waianaeboy702
Donate link: https://www.paypal.com/donate/?hosted_button_id=C4QBPPJLZCQ4G
Tags: Font Awesome, Shortcode, Icons, Font Awesome Icons, Ed's Font Awesome Plugin
Requires at least: 6.8
Tested up to: 6.9
Stable tag: 3.0
Requires PHP: 7.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Ed's Font Awesome Plugin is the ultimate Font Awesome Icon Shortcode plugin with 2,000+ icons, animations, layers, and color support. 

== Description ==

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

== Installation ==

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](https://fontawesome.com/icons?d=gallery "FontAwesome").
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](https://fontawesome.com/docs/web/style/size "Sizing")
7. Plugin shortcode and enjoy. 

== Screenshots ==

1. Screenshot of Font Awesome icons page
2. Screenshot of Sizing Options
3. Screenshot of Dashboard
4. Screenshot of Options admin page

== Changelog ==

= 1.0.1 =
* Updated tested versions to include WordPress 5.6.1 
* Improved security

== 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 =
* 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


== Frequently Asked Questions ==

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

== Upgrade Notice ==

= 1.0.1 =
This upgrade gets rid of `untested WordPress version` notice on the plugin page for users who've upgraded to WordPress 4.3

= 2.1 =
Security patch - fixes Stored XSS vulnerability in shortcode attributes. Update immediately.

= 3.0 =
Major feature update — animated icons, layered icons, icon links, and color support.