Better WordPress smilies
Published September 30th, 2013 under Plugins
Update: Due to an update in WordPress 3.8, this plugin broke. Thankfully Ronald Huereca kindly wrote a patch to fix it. Hopefully the original plugin will be updated with the patch shortly. You can grab the patch here.
A subtle but important way you can improve your WordPress site is by upgrading the rather hideously awful similies images which are present in WordPress core 😀 😀 😀
The problem
Jeff Waugh submitted a patch to WordPress core back in 2009 which replaced the old ugly smilies with beautiful new ones from the GNOME and Tango themes. Unfortunately, although the patch was initially committed, it was eventually dropped after numerous complaints 🙄 This has left us with the same hideously ugly default similies that came with early versions of WordPress, and it doesn’t look like that will change any time soon 😮
The solution 🙂
That same patch that Jeff Waugh created all those years ago is also available in his Tango Smilies plugin 😀 The plugins page reports that it hasn’t been updated in over two years, but don’t let that alarm you. It hasn’t been updated simply because it doesn’t need to be updated. It works just fine the way it is 🙂 I have it installed here on geek.ryanhellyer and am very happy with it. There are other plugins available, but the ones I found include extra administration pages (bloat) which I don’t want or need. I just wanted a plugin I could install and have it automatically upgrade my smilies for me 🙂
Possible similies
Smile | :) | 🙂 |
Laugh | :lol: | 😆 |
Big smile | :D | 😀 |
Oops | :oops: | 😳 |
Sad | :( | 🙁 |
Cry | :cry: | 😥 |
Eek | :o | 😮 |
Evil | :evil: | 👿 |
Shock | :shock: | 😯 |
Twisted | :twisted: | 😈 |
Question | :? | 😕 |
Roll eyes | :roll: | 🙄 |
Cool | :cool: | 😎 |
Exclamation | :!: | ❗ |
Mad | :x | 😡 |
Tongue poke | :P | 😛 |
Idea | :idea: | 💡 |
Neutral | :| | 😐 |
Arrow | :arrow: | ➡ |
Wink | ;) | 😉 |
My Green | :mrgreen: |
Want to hack up your own smilies?
Thanks to Ipstenu, there is a very handy tutorial on how to setup your own custom smilies, including with SVG images and PNG fallbacks for older browers.
Ipstenu (Mika E) says:
If you want to do this manually, there’s a filter 😉
http://halfelf.org/2013/ie-8-and-svg-smilies/
September 30, 2013 at 4:00 pm # //
Ryan Hellyer says:
Thanks! I forgot about that post of yours. I’ve added a mention to it at the end of the post now 🙂
I actually ended up doing this after removing your WP Grins SSL plugin from ryan.hellyer.kiwi, as it didn’t seem to encourage anyone to use more emoticons.
September 30, 2013 at 4:10 pm # //
Ipstenu (Mika E) says:
It’s funny, I was about half-way through putting that code in to make it easy to swap, but then I realized my plugin works well with the filter, so I left it out.
September 30, 2013 at 4:21 pm # //
Ryan Hellyer says:
I just realised Jeff’s old plugin doesn’t used the “smilies_src” filter. It seems to work fine though 🙂
I guess it was made before Otto added that filter to core :/
September 30, 2013 at 4:18 pm # //
Ronald says:
Yay! I network-activated the plugin on my Multisite install and it works flawlessly.
😉 ❗
October 1, 2013 at 1:29 pm # //
James says:
Hi Ryan,
Seeing the awful message of ‘ This plugin hasn’t been updated in over two years’ scares me so much, not just for the plugin in question, but any other plugin with the same message.
I’m off to download the plugin and see how it goes. Will it work perfectly for a synthesis powered blog with genesis theme?
Thank you.
November 15, 2013 at 1:30 pm # //
Ryan Hellyer says:
I can’t see any reason it wouldn’t work.
November 15, 2013 at 1:36 pm # //
Ryan Hellyer says:
This darned thing seems to have broken on me for some reason, not sure why.
December 6, 2013 at 11:29 pm # //
Ryan Hellyer says:
It turned out that this was just due to a stupid muckup with the plugin I use for handling my CDN. The Tango’s plugin is working just fine 🙂
December 6, 2013 at 11:37 pm # //
Ryan Hellyer says:
It wasn’t a CDN issue actually, it was due to the problem outlined at the start of this post.
March 26, 2014 at 10:24 am # //
Joel says:
You are dumb as shit if you prefer those stupid smilies to the classics
September 28, 2014 at 11:29 pm # //
Ryan Hellyer says:
Well aren’t you just a bundle of joy!
Also, fuck you, ya jerk!
September 30, 2014 at 10:58 am # //