Support » Fixing WordPress » Links in alphabetical order?

  • I can get my links to show in alphabetical order in the manage links page, but is it possible to get them to show up in alphabetical order in the blog itself?

Viewing 7 replies - 1 through 7 (of 7 total)
  • My links are in alphabetical order. It should be something that you declare in your code for the links. You do mean on the sidebar, right?
    <?php wp_get_linksbyname(‘money’) ?> This shows my money links in the sidebar on my portal page. They are in alphabetical order.
    You may want to check out this page for more help. 🙂




    I currently have mine sorted by name as well… works jsut fine for me. I think it’s an option in the link management page, yes?
    On a related note: Does anyone know how I can set the order of the categories, but have the links sorted by name? Currently the categories are sorting by name as well, I’d like to give them “weight” so that some categories come before others. Other wise, I have give creative names to get them sorted right. If there isn’t away, I’ll see about providing a hack to accomplish it -(if I do it’ll be _after_ the next release. no sense in doing it twice.)

    There is something on here for categories. I had a drop down when I used them. Now that multiple categories will be coming out, I will have to make some and use the drop down again. 🙂 Just search for categories and you should find it…I am all over that thread, so look for one with my name in it.

    Slightly off-topic, but I’m really confused by the number of different tags people seem to be using to call the links; get_links, get_links_list, wp-get_linksbyname, etc. etc. I looked at the page in the docs but that just seemed to be about the admin side, rather than the calls. I’m going to have a root around in the php files to see if they’re documented there.
    (I remember there being something in the dev blog about get_links_list, but I can’t find a link to the archives. I’m slow today.)

    notthatugly, I use <?php wp_get_linksbyname(‘money’) ?> as I have a portal page and I wanted to put other things besides reads on it. I have quite a few different categories and linksbyname seems to work for what I want to do. 🙂

    Nope, it’s still not happening. The link to the reference page and ‘Order by’ only lists the links alphabetically in admin’s links manager page. When you go ‘View site’ the links under the ‘links’ heading are still in the order that I added them originally. All the entries in ‘categories’ show up alphabetically automatically though?

    <?php get_links(-1, ‘

  • ‘, ‘
  • ‘, ”, 0, ‘name’, 0, 0, -1, -1)?>
    instead of
    <?php get_links(-1, ‘

  • ‘, ‘
  • ‘, ”, 0, ‘_updated’, 0, 0, -1, -1)?>
    this is under the menu section of your index.php

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Links in alphabetical order?’ is closed to new replies.