Version Description
- Added ability to choose which CDN to use.
- Added
unprefixed_class
shortcode attribute to allow for unprefixed shortcodes. - Updated prefixes to now return just the prefix without the dash (-).
Download this release
Release Info
Developer | McGuive7 |
Plugin | Better Font Awesome |
Version | 0.9.5 |
Comparing to | |
See all releases |
Code changes from version 0.9.4 to 0.9.5
- readme.txt +6 -8
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: McGuive7, MIGHTYminnow
|
|
3 |
Tags: better, font, awesome, icon, bootstrap, fontstrap, cdn, shortcode
|
4 |
Donate link: http://mightyminnow.com
|
5 |
Requires at least: 3.0
|
6 |
-
Tested up to: 3.9
|
7 |
Stable tag: 0.9.5
|
8 |
License: GPLv2+
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
@@ -17,13 +17,13 @@ Better Font Awesome gives you easy access to the full [Font Awesome](http://fort
|
|
17 |
|
18 |
= Features =
|
19 |
|
20 |
-
* **Choose your version** - automatically checks
|
21 |
|
22 |
* **Backwards compatible** - shortcode output is automatically updated depending on which version you choose, meaning that you can switch versions without having to modify your shortcodes.
|
23 |
|
24 |
* **Compatible with other plugins** - designed to work with shortcodes generated with plugins like [Font Awesome Icons](http://wordpress.org/plugins/font-awesome/ "Font Awesome Icons"), [Font Awesome More Icons](https://wordpress.org/plugins/font-awesome-more-icons/ "Font Awesome More Icons"), and [Font Awesome Shortcodes](https://wordpress.org/plugins/font-awesome-shortcodes/), so you can switch to Better Font Awesome and your existing shortcodes will still work.
|
25 |
|
26 |
-
* **CDN speeds** -
|
27 |
|
28 |
= Settings =
|
29 |
All settings can be adjusted via **Settings → Better Font Awesome**.
|
@@ -32,13 +32,11 @@ All settings can be adjusted via **Settings → Better Font Awesome**.
|
|
32 |
Better Font Awesome can be used in 3 different ways: shortcode, HTML, and TinyMCE
|
33 |
|
34 |
= 1. Shortcode =
|
35 |
-
`[icon name="flag" class="2x spin border"
|
36 |
|
37 |
The **`name`** attribute is simply the name of the icon (see note below on prefixes, which are totally optional).
|
38 |
|
39 |
-
The **`class`** attribute can include any of the available Font Awesome classes listed on the Font Awesome [Examples Page](http://fortawesome.github.io/Font-Awesome/examples/ "Font Awesome Examples").
|
40 |
-
|
41 |
-
The **`unprefixed_class`** attribute is where you can inlude classes that won't be prefixed.
|
42 |
|
43 |
The **`space`** attribute (optional) can be used to include a ` ` within the generated `<i>` element.
|
44 |
|
@@ -68,7 +66,7 @@ Better Font Awesome also provides you with an easy-to-use drop down menu in the
|
|
68 |
Please feel free to integrate Better Font Awesome in your plugin or theme! If you want to hook into Better Font Awesome, the best way is via the global `$better_font_awesome` object, which has a few public properties that might be useful:
|
69 |
|
70 |
`$better_font_awesome->prefix`
|
71 |
-
The prefix (e.g. "icon" or "fa") that should be used with the selected version of Font Awesome.
|
72 |
|
73 |
`$better_font_awesome->icons`
|
74 |
An alphabetical array of all available icons based on the selected version of Font Awesome.
|
3 |
Tags: better, font, awesome, icon, bootstrap, fontstrap, cdn, shortcode
|
4 |
Donate link: http://mightyminnow.com
|
5 |
Requires at least: 3.0
|
6 |
+
Tested up to: 3.9
|
7 |
Stable tag: 0.9.5
|
8 |
License: GPLv2+
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
17 |
|
18 |
= Features =
|
19 |
|
20 |
+
* **Choose your version** - automatically checks for all available versions of Font Awesome, and lets you choose which one you want to use from a simple drop down menu. You also have the option to choose "Latest," which means the plugin will automatically switch to the latest version of Font Awesome as soon as it's released.
|
21 |
|
22 |
* **Backwards compatible** - shortcode output is automatically updated depending on which version you choose, meaning that you can switch versions without having to modify your shortcodes.
|
23 |
|
24 |
* **Compatible with other plugins** - designed to work with shortcodes generated with plugins like [Font Awesome Icons](http://wordpress.org/plugins/font-awesome/ "Font Awesome Icons"), [Font Awesome More Icons](https://wordpress.org/plugins/font-awesome-more-icons/ "Font Awesome More Icons"), and [Font Awesome Shortcodes](https://wordpress.org/plugins/font-awesome-shortcodes/), so you can switch to Better Font Awesome and your existing shortcodes will still work.
|
25 |
|
26 |
+
* **CDN speeds** - choose between the lightning quick [jsDelivr](http://www.jsdelivr.com/#!fontawesome) and [Bootstrap](http://www.bootstrapcdn.com/) CDNs, for super-fast loading of Font Awesome CSS.
|
27 |
|
28 |
= Settings =
|
29 |
All settings can be adjusted via **Settings → Better Font Awesome**.
|
32 |
Better Font Awesome can be used in 3 different ways: shortcode, HTML, and TinyMCE
|
33 |
|
34 |
= 1. Shortcode =
|
35 |
+
`[icon name="flag" class="2x spin border" space="true"]`
|
36 |
|
37 |
The **`name`** attribute is simply the name of the icon (see note below on prefixes, which are totally optional).
|
38 |
|
39 |
+
The **`class`** attribute can include any of the available Font Awesome classes listed on the Font Awesome [Examples Page](http://fortawesome.github.io/Font-Awesome/examples/ "Font Awesome Examples").
|
|
|
|
|
40 |
|
41 |
The **`space`** attribute (optional) can be used to include a ` ` within the generated `<i>` element.
|
42 |
|
66 |
Please feel free to integrate Better Font Awesome in your plugin or theme! If you want to hook into Better Font Awesome, the best way is via the global `$better_font_awesome` object, which has a few public properties that might be useful:
|
67 |
|
68 |
`$better_font_awesome->prefix`
|
69 |
+
The prefix (e.g. "icon-" or "fa-") that should be used with the selected version of Font Awesome.
|
70 |
|
71 |
`$better_font_awesome->icons`
|
72 |
An alphabetical array of all available icons based on the selected version of Font Awesome.
|