Clickable smilies in post page for WordPress hack
Thanks for visiting! We would like to serve you better. Please subscribe to our RSS feed for daily updates. This blog posts regular Wordpress news, updates of themes, plugins, ideas, hacks, quick fixes and everything about blogging, especially about Wordpress. You can also receive updates from this blog via email if you want that method of notification.
I had written this hack a long time ago, but considering the renewed interest, I wanted to make sure it was recorded. It make a small row of clickable smilies show up on top of box where you edit your post. Click on the smilie and it gets translated and put in the right place, no more guessing! Here is the link to the hack.
*Edit* The hack has been fixed for use on comments which show up on the main page (without the use of 12_comments popup)














Comments RSS
The selection.createRange() code that inserts at the cursor position only works in IE. You should steal the insertion code from the wp-quicklinks.js to make it cross-browser compatible.
[Reply] alex — 11/30/2003 @ 4:15 pmOne language I dont care for (and truly, dont really understand) is Javascript and it gives me lots of headaches!
I will look into doing some stealing. There has been some problem with the document.form item as well which I should look into. Thanks Alex!
[Reply] Mark (36 comments.) — 11/30/2003 @ 6:31 pmJavaScript is truly a pain in the arse - the JS Console in Mozilla helps a lot though.
[Reply] alex — 11/30/2003 @ 10:40 pm