Title: Sorting Link Categories Manually
Last modified: August 18, 2016

---

# Sorting Link Categories Manually

 *  [sf49er](https://wordpress.org/support/users/sf49er/)
 * (@sf49er)
 * [21 years, 4 months ago](https://wordpress.org/support/topic/sorting-link-categories-manually/)
 * Currently, the only options for sorting Link Categories in 1.2 is by name, ID,
   url, rating, updated and random. I would like to control the sort order manually
   and be able to shift them around at will. Is this possible in this version?

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

 *  [Mark McKibben](https://wordpress.org/support/users/manzabar/)
 * (@manzabar)
 * [21 years, 4 months ago](https://wordpress.org/support/topic/sorting-link-categories-manually/#post-140381)
 * Try using [get_links](http://codex.wordpress.org/Template_Tags/get_links), set
   the orderby to “notes” and then in the link manager add a note to each link that
   consists of the order you want it to show up. I.E. If you have Link_ABC, Link_DEF&
   Link_GHI that you want to display in this order:
    Link_DEF Link_ABC Link_GHI
 * Add a note to Link_DEF of “1”
    Add a note to Link_ABC of “2” Add a note to Link_GHI
   of “3”
 *  Thread Starter [sf49er](https://wordpress.org/support/users/sf49er/)
 * (@sf49er)
 * [21 years, 4 months ago](https://wordpress.org/support/topic/sorting-link-categories-manually/#post-140388)
 * I believe this applies to links listed under a specific category. However, I 
   would like to be able to position each link **category**
    manually and I don’t
   see a Notes field when editing these.
 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [21 years, 4 months ago](https://wordpress.org/support/topic/sorting-link-categories-manually/#post-140389)
 * [http://wordpress.org/support/topic.php?id=13930#post-81270](http://wordpress.org/support/topic.php?id=13930#post-81270)
 *  Thread Starter [sf49er](https://wordpress.org/support/users/sf49er/)
 * (@sf49er)
 * [21 years, 4 months ago](https://wordpress.org/support/topic/sorting-link-categories-manually/#post-140390)
 * Thanks to the both of you!!
 *  [Bryan Villarin](https://wordpress.org/support/users/btvillarin/)
 * (@btvillarin)
 * [21 years, 4 months ago](https://wordpress.org/support/topic/sorting-link-categories-manually/#post-140399)
 * Manzabar: Thanks for the tip on using notes to sort links! =)
 *  [Mark McKibben](https://wordpress.org/support/users/manzabar/)
 * (@manzabar)
 * [21 years, 4 months ago](https://wordpress.org/support/topic/sorting-link-categories-manually/#post-140414)
 * [@sf49er](https://wordpress.org/support/users/sf49er/): In that case, you can
   either use Podz suggestion or you can do what I did for my [Portal page](http://coffeebear.net/portal.php).
   Each section of links down the main part of the page are being pulled via [get_linksbyname](http://codex.wordpress.org/Template_Tags/get_linksbyname)
   with the category set for that section. I.E. The “Tech News” section is built
   from all the links that I entered in a category called “Tech News” and I’ve set
   the tag up like this:
    `<?php get_linksbyname("Tech News", "<li>", "</li>", "",
   show_images, "name", false, false, -1, show_updated); ?>`
 * The next section of links is pulled using the same settings except category is
   set to “Blogs”.
 * [@btvillarin](https://wordpress.org/support/users/btvillarin/): No problem, though
   I probably should mention I’ve not tried the technique out; I just noticed the
   options while looking at the Codex.
 *  [Bryan Villarin](https://wordpress.org/support/users/btvillarin/)
 * (@btvillarin)
 * [21 years, 4 months ago](https://wordpress.org/support/topic/sorting-link-categories-manually/#post-140433)
 * In that case, for the record, that method _does_ work. 😉

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

The topic ‘Sorting Link Categories Manually’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 7 replies
 * 4 participants
 * Last reply from: [Bryan Villarin](https://wordpress.org/support/users/btvillarin/)
 * Last activity: [21 years, 4 months ago](https://wordpress.org/support/topic/sorting-link-categories-manually/#post-140433)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
