• I have been using smilies for a quite a while now and I was wondering if there is a way to organize them. It seems that they are just listed randomly and not in the order in which they are posted in the vars.php file. Any ideas on if or how I could organize them?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Organize them in vars.php? Why? Well, you can move them in any order you want just as long as you maintain the integrity of the array.

    [EDIT] You must use something like wp-grins to display them. I don’t know if rearranging them in the array will make a difference in how they are displayed, probably depends on what you are using to display ’em.

    Looks like the smilies are sorted so if you want to change their order in the array, you will also have to remove or edit the function “smiliescmp”

    You can also create your own array in wp-config and not have to edit the one in vars.php

    The default sort order is, err, interesting. It appears to sort by length of the text, then alphabetically. Removing the function is the best bet, as you can then put them in what order you like.

    But I have moved on to using wp-config, too. One less file to remember to edit when upgrading 🙂

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Organizing Smilies’ is closed to new replies.