Font Emoticons Wordpress Plugin - Rating, Reviews, Demo & Download
Plugin Description
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:
:)
:-)
(-:
(:
:smile:
:(
:-(
:sad:
;)
;-)
:wink:
:P
:-P
:razz:
-.-
-_-
:sleep:
>:)
>:-)
:devil:
:twisted:
:o
:-o
:eek:
8O
8o
8-O
8-o
:shock:
(No special icon for “shock” yet. Using “eek” instead.):coffee:
8)
8-)
B)
B-)
:cool:
:/
:-/
:beer:
:D
:-D
:grin:
x(
x-(
X(
X-(
:angry:
:x
:-x
:mad:
(No special icon from “mad” yet. Using “angry” instead.)O:)
0:)
o:)
O:-)
0:-)
o:-)
:saint:
:'(
:'-(
:cry:
:shoot:
|)
:squint:
^^
^_^
:lol:
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
<pre>
or<code>
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:
<?php echo get_the_author_meta( 'description' ); ?>
to this code:
<?php echo apply_filters('wp_font_emots_replace', get_the_author_meta( 'description' )); ?>
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/