WordPress.org

Ready to get started?Download WordPress

Forums

Reordering of Links Categories (12 posts)

  1. Slappo
    Member
    Posted 10 years ago #

    It would be nice to be able to reorder the Links Category ID numbers. If I decided that I want a link category to occur at the top of the blog, I have to delete all the subsequent categories, so the ID number will the one I want. I should just be able to change the ID number as part of my ability to edit the link categories.

  2. Anonymous
    Unregistered
    Posted 10 years ago #

    Have you tried the spacing hack to deal with this?

  3. Slappo
    Member
    Posted 10 years ago #

    Yeah, that's what I'm going to do for the time being, but that should be a basic customizable function anyway.

  4. Eric_Fuller
    Member
    Posted 9 years ago #

    I agree. I'm glad to know that I'm not just missing something obvious though! I've been poking around for a couple of hours trying to figure it out.

  5. Eric_Fuller
    Member
    Posted 9 years ago #

    hrmmm....reordering the categories in the database doesn't do any good...

  6. Eric_Fuller
    Member
    Posted 9 years ago #

    OK, I figured out a way to do it:

    Go to your index.php file in the folder of whichever theme you are using.

    Find the <?php get_links_list(); ?>

    In the (), list the category id numbers in the order you want them displayed, separated by commas, with no spaces. Like so:

    <?php get_links_list(25,26,27,28,29); ?>

  7. invisiblemute
    Member
    Posted 9 years ago #

    I tried <?php get_links_list(25,26,27,28,29); ?> but it didn't reorder. Works with 1.5?

  8. jeremy
    Member
    Posted 8 years ago #

    Yeah, works in 1.5! Brilliant!

  9. MishMish
    Member
    Posted 8 years ago #

    OKay, I am using 1.5.2 & tried <?php get_links_list(2,1); ?> to reorder the two categories I have for links & didn't work. Any ideas?

  10. MishMish
    Member
    Posted 8 years ago #


  11. breger
    Member
    Posted 8 years ago #

    See this thread. It may help.
    http://wordpress.org/support/topic/46928

  12. froman118
    Member
    Posted 8 years ago #

    Thought you would be interested, as would people who come across this thread, that I have created a plugin to address this very issue by allowing you to manually set the order of link categories and links. Check it out at My Link Order

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.