Title: Link sequence
Last modified: August 19, 2016

---

# Link sequence

 *  [gandalf458](https://wordpress.org/support/users/gandalf458/)
 * (@gandalf458)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/link-sequence/)
 * Is there some way to specify the sequence of links within link categories? I’d
   like them ordered by link_id but they are listed in alphabetical order…

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

 *  [Edward Caissie](https://wordpress.org/support/users/cais/)
 * (@cais)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/link-sequence/#post-1534627)
 * Have you looked at this function: [http://codex.wordpress.org/Template_Tags/wp_list_bookmarks](http://codex.wordpress.org/Template_Tags/wp_list_bookmarks)
 * If it is the one used in your theme, then you should be able to edit the parameters
   to suit your needs.
 *  Thread Starter [gandalf458](https://wordpress.org/support/users/gandalf458/)
 * (@gandalf458)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/link-sequence/#post-1534767)
 * Thanks. The line
    wp_list_bookmarks(‘title_after=&title_before=’); in sidebar.
   php seems to be the one I need. It doesn’t seem to change the sequence with wp_list_bookmarks(‘
   orderby=id&title_after=&title_before=’); Guess I need to try setting args and
   using wp_list_bookmarks($args);
 * G 🙂
 *  Thread Starter [gandalf458](https://wordpress.org/support/users/gandalf458/)
 * (@gandalf458)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/link-sequence/#post-1534780)
 * I’ve modified sidebar.php and list.php in my default theme changing the line
   
   <?php wp_list_bookmarks(); ?> to <?php wp_list_bookmarks(‘orderby=id’); ?> but
   it doesn’t change the sequence.
 *  [Edward Caissie](https://wordpress.org/support/users/cais/)
 * (@cais)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/link-sequence/#post-1534827)
 * Sometimes a link to your web site and current theme can be useful to sort out
   issues like this. In this case the theme is probably the key detail.
 * Also, you mentioned “list.php” which is not a standard WordPress theme template
   file, have you asked the theme author for their input on this matter?
 *  Thread Starter [gandalf458](https://wordpress.org/support/users/gandalf458/)
 * (@gandalf458)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/link-sequence/#post-1534848)
 * Sorry, Cais. The website is [http://www.grador.biz/blog/](http://www.grador.biz/blog/)
   and I’m using the default theme. I have ordered the WordPress Bible and until
   that arrives have made very few changes to the original install. And I see I 
   meant links.php
 *  [Edward Caissie](https://wordpress.org/support/users/cais/)
 * (@cais)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/link-sequence/#post-1534872)
 * > I’ve modified sidebar.php and list.php in my default theme changing the line
   > 
   > <?php wp_list_bookmarks(); ?> to <?php wp_list_bookmarks(‘orderby=id’); ?> 
   > but it doesn’t change the sequence.
 * I just checked on one of my test servers and that should have worked for you.
   Did you try a “[hard refresh](http://wpfirstaid.com/2009/12/why-hard-or-soft-refresh/)”
   after you made the edit to insure your browser was not showing you a cached page?
 *  Thread Starter [gandalf458](https://wordpress.org/support/users/gandalf458/)
 * (@gandalf458)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/link-sequence/#post-1534876)
 * Yup. Even cleared all the cache to be doubly sure. Well, it’s not the end of 
   the world but it’s a puzzle if it ought to have worked. I can’t see I’ve mistyped
   anything…

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

The topic ‘Link sequence’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 7 replies
 * 2 participants
 * Last reply from: [gandalf458](https://wordpress.org/support/users/gandalf458/)
 * Last activity: [15 years, 11 months ago](https://wordpress.org/support/topic/link-sequence/#post-1534876)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
