Add Smiles to Your WordPress Blog

Smilies, also known as “emotions”, are glyphs used to convey emotions in your writing. They are a great way to brighten up your posts.

If you want to attract more visitors to comment on your blog, adding smilies is an effective method.

Here is the screenshots in comment area of my blog:

For more information about smilies of WordPress, I strongly recommend you to check WordPress Codex at http://codex.wordpress.org/Using_Smilies.

There are different ways to  to add your own smilies to your WordPress blog, and in the post I will introduce 2 of them.

1. WordPress Plugins

I personally recommend use Custom Smilies SE ( author’s blog page ) as your WordPress Smilies Plugin, because you can add your own smilies images on your blog:

Also, you can add smilies when posting in WordPress dashboard:

There are many other WordPress smilies plugins, and you can choose any of them if you like.

2. Using a simple php script

Many other bloggers, just like me, don’t like using plugins but want to customize your WordPress themes.

Usually, a WordPress plugin may increase your MySQL database size, so not using a plugin is a good habit.

Now, let me tech you how to do it without a WordPress plugin.

First, download this php sript:

(Download smiley.php from SkyDrive)

Then, upload smiley.php to your themes folder, such as /wp-content/themes/default/smiley.php

Now, go to your WordPress dashboard to edit comments.php of your themes ( appearance ), insert this line where you find textarea in your comments.php:

<?php include(TEMPLATEPATH . ‘/smiley.php’); ?>

( Normally insert it below or above these code: textarea name=”comment” )

So easy, isn’t it?

This simple php script is modified by Willin Kan.

3. Download QQ Emotions files

You may notice that the smilies images on my blog are special, it is from Tencent (QQ.COM, a famous Chinese IM software).

Now you can download it from my blog:

V1 Round Face (from original QQ)

icon_arrow icon_biggrin icon_confused icon_cool icon_cry icon_eek icon_evil icon_exclaim icon_idea icon_lol icon_mad

icon_mrgreen icon_neutral icon_question icon_razz icon_redface icon_rolleyes icon_sad icon_smile icon_surprised icon_twisted icon_wink

V2 Square Face

icon_arrow icon_biggrin icon_confused icon_cool icon_cry icon_eek icon_evil icon_exclaim icon_idea icon_lol icon_mad

icon_mrgreen icon_neutral icon_question icon_razz icon_redface icon_rolleyes icon_sad icon_smile icon_surprised icon_twisted icon_wink

Download: V1 Round Face | V2 Square Face

(Replace the image files in /wp-includes/images/smilies/ )

.

Click Here to Read the Chinese Version of this post.

Leave a Reply

Your email address will not be published. Required fields are marked *

:wink: :-| :-x :twisted: :) 8-O :( :roll: :-P :oops: :-o :mrgreen: :lol: :idea: :-D :evil: :cry: 8) :arrow: :-? :?: :!: