Custom Smilies

Update: 2009.10.25 00:30

The latest release is version 2.8. You can find it here.

最新版本是 2.8。你可以在这里找到

About It

Custom Smilies (previously named Custom Smileys) is a plugin for WordPress 2.0+. This plugin gives you a chance to personalize your posts and comments using smilies of your choice instead of default ones.

Custom Smilies (older than version  2.0) is written by QAD. Thanks for his great contribution.

I have upgrade it to let it been compatible with WordPress 2.5 or greater. That’s all I do, but I will perfect it in the future. So the most is written by QAD. Thanks again.

You can see the English Readme and more here ( new window) .


You can get the latest version of Custom Smilies here. Get it
How to install

  1. Download and extract; then, upload init.php and custom-smilies.php to the /wp-content/plugins/custom-smilies directory. Upload smilies folder to the /wp-includes/images directory..
  2. Activate Custom Smilies in your Admin Panel
  3. Put your smilies in smilies folder (wp-includes/images/smilies/)
  4. Change the emoticons by navigating to Manage > Smilies and complete the form
  5. If you want to add clickable smilies to your comment form, append these lines to your current theme’s comments.php file, just before the form begins(You don’t need do this if your theme suppor the action named comment_form since version 2.3):<?php if ( function_exists(cs_print_smilies) ) {cs_print_smilies();} ?>

For ‘Paged Comments’ plugin’s users: Please place that code in wp-content/plugins/paged-comments/themes/your-theme-name/comments-paged.php to enable those clickable smilies.Please note that you can customize this list by going to Options > Smilies.Wanna play with the smilies yourself? A function called cs_all_smilies() has been added, which return all the smilies you’ve got in this format: Array (’Smilie’ => ‘Path to smilie’)

How to upgrade

For Custom Smilies 1.0 and 1.1 users, simply replace the file custom-smilies.php in your plugins folder with the newer one. Do NOT overwrite init.php, as it contains your smilies’ definitions.

For those who are still using Custom Smileys version 2.4 (which was released more than 1 year ago!), you can upgrade it to the lastest version by following this procedure:

  1. Backup your database! (better safe than sorry – i’m not responsible for any data loss caused by this plugin)
  2. Move all of your smilies to your smilies folder (wp-includes/images/smilies/)
  3. Deactivate Custom Smileys 2.4 without uninstalling it
  4. Download, extract, then upload Custom Smilies 1.0 to your blog
  5. Activate Custom Smilies 1.0 in your Admin Panel
  6. Delete custom-smileys.php if you wish


Custom Smilies 是一个 WordPress 插件。它可以让你自由地在你的文章和评论中使用表情来代替默认的表情。

我(Crazy Loong)修改了以前的版本,使它可以工作在 WordPress 2.5 下。


Custom Smilies 2.0 是我(Crazy Loong)更新的。2.0以前的版本是由 QAD 编写的。

安装 Custom Smilies 后,你可以把自己需要的表情添加到 WordPress 的表情文件夹里(wp-includes/images/smilies/),然后在 Manage > Smilies 里添加表情对应的字符。非常简单哦。

设置好以后,这些表情就可以在任何文章、页面和评论里使用了。例如,当你输入 :D, :), :|(你可以自己定义这些符号)时,就会在文章出现对应的表情。或者,通过在点击相应的图标来插入到文章中。




———- TODO ———-

Check whether init.php is writeable.

检查 init.php 是否可写。

Move the smilies folder into wp-content

将 smilies 文件夹移动到 wp-content

compliance to W3C specifications

符合 W3C 规范

451 thoughts on “Custom Smilies”

  1. I’ve been using this plug-in for a while and it worked perfect.

    I wanted to add a smilie, so I added the smilie to the smilies folder and it is shown in the options pannel. But when I try to add a “what to type” to it it doesn’t remember the shortcut when I update it. The smilie stays in the undefined smilies category and the “what to type” becomes empty again…

    Please help :dsadas: !

  2. 升级到3.2版wp,修改了smiles目录名称,后台不能正常使用,前台却还正常。

  3. 非常感谢!终于把评论表情给弄上了,新手菜鸟还是需要老鸟们的指导才能成长啊,谢谢!!! :dsadsad:

  4. HI, plugin is amazing but there is a little problem with mozilla firefox.
    Chrome and IE show correcly the graphic emoticons but firefox show only text and no graphics. Please help me to resolve this bug! I love this plugin, I need it…

  5. I’m testing the website in local with easyphp, i was waiting to fix all bugs I found before upload it… I think is very strange because the plugin works correctly with chrome and IE. any ideas? any suggestions?

  6. RESOLVED! my fault. I found the problem into the folder path … firefox don’t undestand the “\” slash but only “/” … thanks anyway … ^O^ ^O^ ^O^

    Another question. Is it possible to add the plugin into the admin post panel?

  7. Awesome plugin!

    Is there a way to hide “What to type” for smileys from Google to display? Thanks!!

  8. Hello, you made a great plugin, but it needs some updates 😀

    I’m getting this error:
    Notice: load_plugin_textdomain was called with an argument that is deprecated since version 2.7 with no alternative available


    I hope you can update it.
    Thanks a lot!

  9. Nice plugin. Very easy to use, but the smilies are not vertically aligned properly – is there a quick fix for this?

  10. Ah I worked it out. Have to edit the css in the themes folder to include

    vertical-align: bottom;

  11. Hi, momentarily all smiles are Case Sensitive which diminishes the efficiency of this wonderful plugin!

    For example, if I have a smiley set to appear on :p and a commenter types 😛 instead of :p the text won’t be converted into a smiley, and will appear just as text in the comment.

    Please fix this BUG, or if some people do not consider this to be a bug and they consider it to be a benefit, then please just add one little check box in the plugin’s settings with the following function:
    “Disable Case Sensitive For Smileys?”

    I thank you for this great plugin! You’ve done a great work with it, it is the best!

    I hope you’ll take my request into consideration.


  12. Here’s an example: ^o^ this hasn’t been converted into this: ^O^ because of the case sensitive.

  13. Heya! I realize this is kind of off-topic however I had to ask.
    Does building a well-established blog such as yours require a lot of work?
    I’m completely new to running a blog but I do write in my journal daily. I’d like to start a blog so I can share my experience and feelings online.

    Please let me know if you have any kind of recommendations or tips for
    brand new aspiring bloggers. Appreciate it!
    Such adverse result like face blushing may be less
    expressed than in individuals taking Viagra. When born
    as a human, it is very essential to experience each and every
    aspect and turning point, to grow with great knowledge and talent that can help
    you tackle further situations.

  14. Is this plugin going to be updated? I really love it and shouldn’t die! :dsadsad: ^O^ :dsadasccc:

  15. Does your website have a contact page? I’m having trouble locating it but, I’d like to send you
    an email. I’ve got some ideas for your blog you might be interested in hearing. Either way, great site and I look forward to seeing it grow over time.

  16. Hi. I’m having an issue with my interface on editing and creating new/old posts. When I click on the little smiley face next to the “Add Media” button the box pops up with my smilies.

    When I click on the box again, the box moves all the way to the left and cuts off half the smilies so I can’t see all of them.

    I have tried editting the CSS to position the box more to the right but the CSS it is in is in an inline style sheet. When I copy the code and put it in my theme’s CSS style sheet it doesn’t work. Is there any way to fix this??

  17. hey mate, do you have a plan for buddypress? i need this for buddypress activities, private message and forums :dsadasccc:

  18. WordPress Version 3.5.1
    Custom Smilies Version 2.9.2
    Mingle Forums Version 1.0.34

    I have mingle forums installed, The smileys over ride the forum smileys and when you type the Custom Smilies Code they appear in the forums but it still shows the forums old forum smileys in post form how would I fix this


  19. 这个程式真的很好用!不过因为我选的表情符号比较大和多,所以某些地方会超过萤幕,想请问一下弹出的选图视窗有可能加一个scrollbra工能吗?

Leave a Reply