Title: get_links
Last modified: August 19, 2016

---

# get_links

 *  [hairudy](https://wordpress.org/support/users/hairudy/)
 * (@hairudy)
 * [18 years, 3 months ago](https://wordpress.org/support/topic/get_links-1/)
 * `<?php //get_links(-1, '<li>', '</li>', ' - '); ?>`
 * Hi all… firstly i new user from WP.
    I just want to know… how can i change that
   code as a fix random for example just appear link from my blogroll?
 * thanks,
    Hairudy

Viewing 1 replies (of 1 total)

 *  [fidjiti](https://wordpress.org/support/users/fidjiti/)
 * (@fidjiti)
 * [17 years, 9 months ago](https://wordpress.org/support/topic/get_links-1/#post-692114)
 * not sure exactly what you need but this is the code that I use to display a specify
   category (the # 29 is my category number) of my links in Name order (see where
   it says name).
 * `<?php get_links(29, '<li>', '</li>', '', TRUE, 'name', FALSE); ?>`
 * Hope that helps. I am using WP 2.5 and I edited this on the sidebar.php file.

Viewing 1 replies (of 1 total)

The topic ‘get_links’ is closed to new replies.

 * In: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
 * 1 reply
 * 2 participants
 * Last reply from: [fidjiti](https://wordpress.org/support/users/fidjiti/)
 * Last activity: [17 years, 9 months ago](https://wordpress.org/support/topic/get_links-1/#post-692114)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
