Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating to 1.2 with conditional IE7 CSS
- Loading branch information
1 parent
6cdf1a0
commit b954c2c
Showing
3 changed files
with
195 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,120 @@ | ||
=== Font Awesome Icons === | ||
Contributors: rachelbaker | ||
Tags: icons, font-awesome, font icon, UI, icon font, bootstrap | ||
Requires at least: 3.0 | ||
Tested up to: 3.4.2 | ||
Stable tag: 1.2 | ||
License: GPLv3 or later | ||
License URI: http://www.gnu.org/licenses/gpl-3.0.html | ||
|
||
|
||
Enables easy use of the Font Awesome icon font set from within WordPress. Icons can be inserted using either HTML or a shortcode. | ||
|
||
== Description == | ||
|
||
Font Awesome is a pictographic font set of 220 icons. The icons are infitinely scalable and screen reader compatible. | ||
|
||
A full list of the 220 Font Awesome icons is available: [http://fortawesome.github.com/Font-Awesome/#all-icons](http://fortawesome.github.com/Font-Awesome/#all-icons) | ||
|
||
|
||
To use any of the Font Awesome icons on your WordPress site you have two options: | ||
|
||
__HTML Option__ | ||
|
||
All code examples on the Font Awesome site apply: [http://fortawesome.github.com/Font-Awesome/#code](http://fortawesome.github.com/Font-Awesome/#code) | ||
|
||
**Examples** | ||
|
||
Pencil icon | ||
|
||
`<i class="icon-pencil"></i>` | ||
|
||
Phone icon | ||
|
||
`<i class="icon-phone"></i>` | ||
|
||
Chevron left icon | ||
|
||
`<i class="icon-chevron-left"></i>` | ||
|
||
__Shortcode Option__ | ||
|
||
Don't want to worry about HTML tags? You can use a shortcode in your posts, pages and even widgets to display a Font Awesome icon. | ||
|
||
The shortcode to use is `[icon name=name-of-icon]`, where name=X is the class of the icon you would like to use. | ||
|
||
|
||
Pencil icon | ||
|
||
`[icon name=icon-pencil]` | ||
|
||
Phone icon | ||
|
||
`[icon name=icon-phone]` | ||
|
||
Chevron left icon | ||
|
||
`[icon name=icon-chevron-left]` | ||
|
||
|
||
__Credits__ | ||
|
||
* Font Awesome webfont and associated code are licensed under CC BY 3.0 and is a production of @fortaweso_me, by Dave Gandy. | ||
|
||
__Contributors Welcome__ | ||
|
||
* Submit a [pull request on Github](https://github.com/rachelbaker/Font-Awesome-WordPress-Plugin) | ||
|
||
__Author__ | ||
|
||
* [Rachel Baker](http://rachelbaker.me) | ||
|
||
= Icons = | ||
|
||
![image](http://f.cl.ly/items/3Q3Z0Z30153Q3a2e3i1M/FontAwesome-Vectors.jpg) | ||
|
||
== Installation == | ||
|
||
1. Upload Font Awesome Icons to the `/wp-content/plugins/` directory. | ||
|
||
2. Activate the plugin through the 'Plugins' menu in WordPress. | ||
|
||
3. Add shortcode to your posts, pages and even widgets to display a Font Awesome icon. | ||
|
||
The shortcode to use is `[icon name=name-of-icon]`, where name=X is the class of the icon you would like to use. | ||
|
||
**Example:** | ||
|
||
`[icon name=icon-pencil]` | ||
|
||
|
||
4. You can use HTML by adding the appropiate class to the `<i>` element. | ||
|
||
All code examples on the Font Awesome site apply: [http://fortawesome.github.com/Font-Awesome/#code](http://fortawesome.github.com/Font-Awesome/#code) | ||
|
||
**Example:** | ||
|
||
`<i class="icon-pencil"></i>` | ||
|
||
|
||
== Screenshots == | ||
|
||
1. HTML code samples | ||
2. Shortcode samples | ||
3. Full icon list | ||
|
||
|
||
|
||
== Changelog == | ||
|
||
= 1.2 = | ||
|
||
* Added IE7 CSS | ||
|
||
= 1.1 = | ||
|
||
* Created and enabled shortcode | ||
|
||
= 1.0 = | ||
|
||
* Initial release |