Title: Oraganizing Links?
Last modified: August 18, 2016

---

# Oraganizing Links?

 *  [basketball](https://wordpress.org/support/users/basketball/)
 * (@basketball)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/oraganizing-links/)
 * Is their a way that I can make my links organized by the data added like the 
   posts are? On my site I am using links more or so for news articles and stuff
   rather than blogs and websites (so alphabetically organized is kind of pointless)
 * I looked at the wiki; [http://wiki.wordpress.org/UserManual](http://wiki.wordpress.org/UserManual)
   and all the sections under organizing links and stuff havn’t been put in yet.

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

 *  [Kafkaesqui](https://wordpress.org/support/users/kafkaesqui/)
 * (@kafkaesqui)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/oraganizing-links/#post-147568)
 * Link information doesn’t include a timestamp, but I imagine you could sort by
   the numeric ID (reverse order, to list most recent at top). See the Codex for
   info on the different links tags you could use:
 * [http://codex.wordpress.org/Template_Tags/get_links_list](http://codex.wordpress.org/Template_Tags/get_links_list)
   
   [http://codex.wordpress.org/Template_Tags/get_links](http://codex.wordpress.org/Template_Tags/get_links)
   [http://codex.wordpress.org/Template_Tags/get_linksbyname](http://codex.wordpress.org/Template_Tags/get_linksbyname)
 *  Thread Starter [basketball](https://wordpress.org/support/users/basketball/)
 * (@basketball)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/oraganizing-links/#post-147571)
 * Thanks for the links Kafkaesqui, it was exactly what I was looking for. But I
   am just wonder how would I sort it by numeric ID in reverse order?
 * Currently I have
    ` <?php get_links(-1, '<ul class="sbarreg1"><li class="sbarreg"
   >', '</li></ul>', '', FALSE, 'id', TRUE, TRUE, -1, TRUE); ?>
 *  Thread Starter [basketball](https://wordpress.org/support/users/basketball/)
 * (@basketball)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/oraganizing-links/#post-147573)
 * Woops how silly of me I guess I missed the line where it says prefixing the id
   part reverses it =Ãž
 * Thanks again Kafkaesqui
 *  [Kafkaesqui](https://wordpress.org/support/users/kafkaesqui/)
 * (@kafkaesqui)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/oraganizing-links/#post-147575)
 * This will do it:
 * `<?php get_links(-1, '<ul class="sbarreg1"><li class="sbarreg">', '</li></ul>','',
   FALSE, '_id', TRUE, TRUE, -1, TRUE); ?>`
 * Note the underscore before `id`.
 * EDIT: Glad you caught it.

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

The topic ‘Oraganizing Links?’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [Kafkaesqui](https://wordpress.org/support/users/kafkaesqui/)
 * Last activity: [21 years, 3 months ago](https://wordpress.org/support/topic/oraganizing-links/#post-147575)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
