I have my own set of smileys and at the moment, set them in functions.php, but everytime I upgrade wordpress I have to reupload them and edit the file and it’s most tedious.
I was wondering how to write a simple plugin based off this piece of documentation in the functions.php file:
Plugins may override the default smiley list by setting the $wpsmiliestrans
* to an array, with the key the code the blogger types in and the value the
* image file.
I would be ever so grateful for a response.
- The topic ‘How to write a simple smiley plugin with $wpsmiliestrans? :)’ is closed to new replies.