Font Emoticons free WordPress plugin
Description
Font Emoticons free WordPress plugin
Replaces WordPress’ smileys (based on images) with font-based emoticons (see screenshots). Font-based emoticons have some advantages:
They have the same size as the surrounding text. No more distorting the heights of lines containing smileys/emoticons. They always fit the font size.
They have the same color as the surrounding text.
Note: This plugin was developed when WordPress was still using “pixel images” as emoticons. The current version of WordPress uses scalable vector images (SVG) – so they won’t distort your line heights anymore and look crisp on any size. This makes this plugin less useful than it once was – it now comes down to personal preference whether to use it.
The following emoticons are supported:
🙂 🙂 (-: (: 🙂
🙁 🙁 🙁
😉 😉 😉
😛 😛 😛
-.- -_- :sleep:
>:) >:-) :devil: 😈
😮 😮 😮
😯 8o 😯 8-o 😯 (No special icon for “shock” yet. Using “eek” instead.)
:coffee:
8) 😎 B) B-) 😎
:/ :-/
:beer:
😀 😀 😀
x( x-( X( X-( :angry:
😡 😡 😡 (No special icon from “mad” yet. Using “angry” instead.)
O:) 0:) o:) O:-) 0:-) o:-) :saint:
:'( :’-( 😥
:shoot:
|) :squint:
^^ ^_^ 😆
The following general purpose icons are supported:
:thumbs: :thumbsup:
:thumbsdown:
<3 :heart:
:star:
(/) (ok sign)
(x) (cancel)
(i)
(?)
(+)
(-)
Notes:
Emoticons/Icons must be surrounded with spaces (or other white space characters); e.g. the emoticon in that:)smile won’t be replaced.
Emoticons/Icons won’t be replaced in HTML tags nor inside of
or blocks.
Use In Themes/Plugins
Font Emoticons are supported in most places where user defined text is displayed. However, there may be places in a
plugin or theme that are not supported by Font Emoticons.
In these cases, just apply the filter wp_font_emots_replace to the text that should display Font Emoticons.
For example, you would change the following PHP code:
to this code:
That’s it.
Font Licenses
The emoticons used in this plugin are based on the fonts “Fontelico” and “Font Awesome”.
Fontelico
Copyright (C) 2012 by Fontello project
Author: Crowdsourced, for Fontello project
License: SIL (http://scripts.sil.org/OFL)
Homepage: http://fontello.com
Font Awesome
Copyright (C) 2012 by Dave Gandy
Author: Dave Gandy
License: SIL (http://scripts.sil.org/OFL)
Homepage: http://fortawesome.github.com/Font-Awesome/