May 08

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.

Order your links (Before) Order your links (After)

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

written by mangoorange


Best Wordpress Hosting Providers - 2014

All three hosts offer FREE 1-click Wordpress installs making them the best Wordpress hosting providers. For more web hosting reviews be sure to check out AlreadyHosting.com.

 #1
#2 
 #3
#1 - Bluehost 
Bluehost Review
#2 - iPage 
iPage Review
#3 - HostMetro 
HostMetro Review


3 Responses to “Order your links, dude!”

  1. 1. S. Costa Says:

    Thank you…

  2. 2. mickeyckm Says:

    Agam: 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?

  3. 3. mickeyckm Says:

    Reyn: Can I have a sample to look at it?

Leave a Reply

You must be logged in to post a comment.