wp_list_bookmarks() – alphabetical random?
-
I have a fairly large list of links, and I’d like to call up (for example) five of them at random, then have them displayed alphabetically. Just for example we’ll use some webcomics:
Dork Tower, Goblins!, Penny and Aggie, Penny Arcade, PVP, Something Positive, xkcd
Now if I use limit=5&orderby=rand, I get something like this:
xkcd, Goblins!, PVP , Penny and Aggie, Something Positive
which is fine for not having too many silly links, but rather chaotic-looking. With that selection I’d like it to display
Goblins!, Penny and Aggie, PVP, Something Positive, xkcd
rand,name; errors out, and using two orderby parameters just leaves me with the first five alphabetically. I don’t see any suggestions in the Codex page.
Does anyone out there have any ideas?
- The topic ‘wp_list_bookmarks() – alphabetical random?’ is closed to new replies.