Support » Themes and Templates » How to Sort Link Categories?

  • There’s the default “BlogRoll” links category, and I have added a new one, “Site Links”. I would like to have the BlogRoll category of links appear after the Site Links category of links for now and, in the future, to always have the BlogRoll category at the bottom of the link categories. For when I add, say, “Friend’s Links” or whatnot, downstream.

    So the question for now is, how do I re-sequnce the link categories so that “BlogRoll” is always the last category of links displayed?

    Be gentle, I’m not too php/css proficient. I’m using v1.5.1.2 and the Rhapsody in Blue theme, on an off-line test server (Suse 9.2) sitting here beside me, with everything working fine so far. Thanks in advance.

Viewing 11 replies - 1 through 11 (of 11 total)
  • I believe that this may help you:

    Thanks for the response. Perhaps I didn’t make myself clear. I have no problem sorting links within a category of links. What I want to do is sort the appearance of those categories in the sidebar (top to bottom) differently.

    WP always seems to put the BlogRoll category first. I want it last of all the link categories. That is, instead of:
    – brogroll
    – next category #2
    – next category #3

    I need it sorted this way (top to bottom):
    – next category #3 (or #2, it doesn’t matter)
    – next category #2 (or #3, it doesn’t matter)
    – blogroll (always the last category of links in the sidebar.

    Does anyone know if this can be done, and how? TIA.

    BTW, I thought that if I just deleted all the links in BlogRoll, then deleted the BlogRoll category, then I would be off to the races. I can delete all those links, but WP won’t let me delete the BlogRoll category.

    It seems the Link Categories are displayed in alphabetical order. Rename the blogroll “zogroll” 😉

    <?php get_links_list('_id'); ?>Will revese order your links list, thus blogroll, with the id of 1, coming last.

    That’s a neat one! Thanks.

    I assume that there’s no way to change the ID associated with link categories, so one could m0re finely-tune what appears, where?

    I would think that it would be a desireable feature in WP.

    Oh thanks, I’ve encounter the same problem.

    But there’s a question that I’m quite puzzle about since I’ll be adding a lot more category links.

    For Example, I have Categories 1-10 [ie, will be identified as id 1,2,3,…10]

    then I add category and identified as 11, but I want to add it between 2 and 3, how can I do this? Or is there another way to change the ID number of my categories?

    Thanks very much

    Some errors….:(

    Mark (podz)


    Support Maven

    Try this (example) tag:

    <li id="linkage">Site Linkage
    <?php wp_get_links(1); ?>

    The number in brackets is the ID of the link group.
    You need more than one tag
    You can put each link cat exactly where you want
    You can style each link cat exactly as you wish

    i don’t mind to do more tags if it’s necessary.

    -wanna know if i need to do any changes in admin—>link–>link categories

    and select the appropriate Sort Order:


    Post cancelled 🙁

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘How to Sort Link Categories?’ is closed to new replies.