Support » Plugin: TinyMCE Smiley Button » How to rearrange order of smilies in smiley select?

  • Resolved darkhydra90

    (@darkhydra90)


    Hi,

    first of all very helpful and easy to use plugin!
    My question is if there’s any way to rearrange the order of the smilies in the visual dropdown list (in post editor after you press the smiley select).

    It’s because I have a ton of emoticons installed in my wordpress, not just the standard ones. They all show up fine with this plugin, but in a seemingly random order. Would like to restructure their order in the smiley select.

    If you tell me how to change order of the default smilies it’ll probably work the same way for my smilies.
    I suppose I must change something in this plugin’s code or somewhere in wordpress code. Just can’t figure out what specific code to change.

    Thanks guys!

Viewing 1 replies (of 1 total)
  • Plugin Author Cople

    (@cople)

    you can modify it in your tinymce-smiley-button.php:

    array_multisort($keys, SORT_ASC, $wpsmiliestrans);

Viewing 1 replies (of 1 total)
  • The topic ‘How to rearrange order of smilies in smiley select?’ is closed to new replies.