Plugin: WP Grins
This plugin allows you to use emoticons on your pages, post, and comments.
- First, download the latest version of WP Grins
- Extract the file.
- Upload wp-grins.php to your /wp-content/plugins/ folder.
- Go to your WordPress admin panel » Plugins.
Look for WP Grins, and activate it. - On your theme header; header.php, the following code must be there:
<?php wp_head(); ?> - In comments.php, there must be a id=”comment” on your <textarea>.
It will look something or exactly like this:
<textarea name=”comment” id=”comment” cols=”22″ rows=”5″ tabindex=”4″> - You’re done.
Editing Your Smilies: 2.1
open up /wp-include/vars.php, copy and paste everything in notepad and then find this line:
if (!isset($wpsmiliestrans)) {
The list of smilies should be there.
Editing Your Smilies: the rest of the version(s)
open up /wp-includes/functions.php, copy and paste everything in notepad and then find this line:
if (!isset($wpsmiliestrans)) {
The list of smilies should be there.
original list of smilies
|
if (!isset($wpsmiliestrans)) { $wpsmiliestrans = array( ‘:mrgreen:’ => ‘icon_mrgreen.gif’, ‘:neutral:’ => ‘icon_neutral.gif’, ‘:twisted:’ => ‘icon_twisted.gif’, ‘:arrow:’ => ‘icon_arrow.gif’, ‘:shock:’ => ‘icon_eek.gif’, ‘:smile:’ => ‘icon_smile.gif’, ‘:???:’ => ‘icon_confused.gif’, ‘:cool:’ => ‘icon_cool.gif’, ‘:evil:’ => ‘icon_evil.gif’, ‘:grin:’ => ‘icon_biggrin.gif’, ‘:idea:’ => ‘icon_idea.gif’, ‘:oops:’ => ‘icon_redface.gif’, ‘:razz:’ => ‘icon_razz.gif’, ‘:roll:’ => ‘icon_rolleyes.gif’, ‘:wink:’ => ‘icon_wink.gif’, ‘:cry:’ => ‘icon_cry.gif’, ‘:eek:’ => ‘icon_surprised.gif’, ‘:lol:’ => ‘icon_lol.gif’, ‘:mad:’ => ‘icon_mad.gif’, ‘:sad:’ => ‘icon_sad.gif’, ’8-)’ => ‘icon_cool.gif’, ’8-O’ => ‘icon_eek.gif’, ‘:-(‘ => ‘icon_sad.gif’, ‘:-)’ => ‘icon_smile.gif’, ‘:-?’ => ‘icon_confused.gif’, ‘:-D’ => ‘icon_biggrin.gif’, ‘:-P’ => ‘icon_razz.gif’, ‘:-o’ => ‘icon_surprised.gif’, ‘:-x’ => ‘icon_mad.gif’, ‘:-|’ => ‘icon_neutral.gif’, ‘;-)’ => ‘icon_wink.gif’, ’8)’ => ‘icon_cool.gif’, ’8O’ => ‘icon_eek.gif’, ‘:(‘ => ‘icon_sad.gif’, ‘:)’ => ‘icon_smile.gif’, ‘:?’ => ‘icon_confused.gif’, ‘:D’ => ‘icon_biggrin.gif’, ‘:P’ => ‘icon_razz.gif’, ‘:o’ => ‘icon_surprised.gif’, ‘:x’ => ‘icon_mad.gif’, ‘:|’ => ‘icon_neutral.gif’, ‘;)’ => ‘icon_wink.gif’, ‘:!:’ => ‘icon_exclaim.gif’, ‘:?:’ => ‘icon_question.gif’, |