S. Costa asked me whether I can reorder my links in the i3Theme such that it’s sorted according to the name alphabetically and this makes me realised, why aren’t such options available in the dashboard anymore.
I remembered that it used to have the options until they have changed it in the version 2.0 limit the options to the programmers only. Weird decision by the programmers at WordPress. If anyone know why they make such a huge change in the link section in WordPress, please let me know.
Nevertheless, I have the fix for you and it’s going to be pretty simple and harmless.
This trick can be apply to both iTheme and i3Theme, and practically any WordPress themes.

Just jump straight to your Dashboard > Presentation and edit your sidebar where you have your links on. For the case of i3Theme, the default sidebar with links is on the right, hence, we edit the right sidebar file.
Under the links section, you look get_links such as below:
<?php get_links(’-1′, ‘<li>’, ‘</li>’, ‘<br />’, FALSE, ‘id‘, FALSE, FALSE, -1, FALSE); ?>
change the sixth parameters to:
<?php get_links(’-1′, ‘<li>’, ‘</li>’, ‘<br />’, FALSE, ‘name‘, FALSE, FALSE, -1, FALSE); ?>
Finally, save your file and you are ready to go.
Other than sorting according to name, there are other options too. More information about the functions get_links can be found here.
You may also like to read these:
iTheme has been columnized!
iTheme Navbar CSS bug
One Ping to “Order your links, dude!”
9 Responses to “Order your links, dude!”
-
1. stevenlichen Says:
May 8th, 2007 at 10:12 amNoted, practical advice as always!
order
(string) Value to sort links on. Defaults to ‘name’ unless you pass the value of ” (empty), in which case it sets to ‘id’. Valid options:* ‘id’
* ‘url’
* ‘name’
* ‘target’
* ‘category’
* ‘description’
* ‘owner’ - User who added link through Links Manager.
* ‘rating’
* ‘updated’
* ‘rel’ - Link relationship (XFN).
* ‘notes’
* ‘rss’
* ‘length’ - The length of the link name, shortest to longest. -
2. stevenlichen Says:
May 8th, 2007 at 11:25 amMy contribution for an enhanced sidebar (Recent Comments & Articles functionalities added):
http://lichen.ifastnet.com/2007/05/08/add-recent-articles-comments-functionalities-to-itheme/
-
3. S. Costa Says:
May 8th, 2007 at 5:51 pmThank you…
-
4. Agam Says:
May 9th, 2007 at 10:47 pmand, what about category? I want make categories for my links.
Thanks alot. -
5. Agam Says:
May 9th, 2007 at 11:08 pmWhy it do not work on my sidebar?
Parse error: syntax error, unexpected ‘,’ in /wp-content/themes/itheme-1-1/sidebar.php on line 61 -
6. mickeyckm Says:
May 10th, 2007 at 1:13 amAgam: Hi, I’m not sure about what’s happening there. However, it works fine right out of the box. Is it because u tweak the wordpress code?
-
7. Reyn Says:
July 15th, 2007 at 2:51 amI used to have images with my link and now they’re gone.. how do i bring them back or is it possible to bring them back?
-
8. mickeyckm Says:
July 15th, 2007 at 7:15 amReyn: Can I have a sample to look at it?
-
9. Reyn Says:
July 19th, 2007 at 1:47 amFigured it out actually.. by reading the documentation on “get links”
Thanks!










May 8th, 2007 at 10:38 am
[...] Me Order your links, dude! May [...]