WordPress.org

Ready to get started?Download WordPress

Forums

Change Link Order request (11 posts)

  1. clay
    Member
    Posted 10 years ago #

    It would be great if there was a 'move up move down' function in the link manager- so we could easily arrange the links without needing to resort to tricks such as editting the id# in the table

  2. Mark (podz)
    Support Maven
    Posted 10 years ago #

    The other trick is to edit the name of the link, and put a number of spaces before the name. More spaces = higher up the list.

  3. NuclearMoose
    Member
    Posted 10 years ago #

  4. clay
    Member
    Posted 10 years ago #

    Moose: What I mean is that wordpress only sorts the links either by alpha or by ID.
    I think there should be a function to change the ID so that you can arrange the links however you want. For example if I add a link- but don't want it at the bottom of a category- and want it in the middle or the top. To do this you need to do some pretty clunky(or dangerous) tricks
    It doesn't seem like something that would be too difficult to do

  5. Anonymous
    Unregistered
    Posted 10 years ago #

    I agree

  6. Anonymous
    Unregistered
    Posted 10 years ago #

    seems like i can only sort the links within a category, not the categories themselves?

  7. Kitt
    Member
    Posted 9 years ago #

    I'm a novice coder but, I found a way to order the links catagories manually using the wp_get_linksbyname tag.

    example:
    <h2>Blogs</h2>
    <?php wp_get_linksbyname('Blogs') ?>

    <h2>News</h2>
    <?php wp_get_linksbyname('News') ?>

    http://codex.wordpress.org/Template_Tags/wp_get_linksbyname

    you can still use the rest of the existing list if you like -
    just exclude the catagories that you've displayed manually.

    example:

    <?php wp_list_cats('sort_column=name&optioncount=1&exclude=10, 15'); ?>

    I don't know the syntax for a simple exclude by Id - that's just the example from this page: http://codex.wordpress.org/Template_Tags/wp_list_cats

    I agree - it would be nice to be able to shuffle the order or change IDs for each link catagory in the links manager panel...

  8. asparagus
    Member
    Posted 9 years ago #

    Am I totally dense but isn't there a 'rating' that could also be used? Granted it's 1 to 10 (or 0 to 9 technically) but isn't that what the rating was designed to do?

  9. Kitt
    Member
    Posted 9 years ago #

    I was answering the query above my post (logically)
    >"seems like i can only sort the links within a category, not the categories themselves?"

    when i stated "I found a way to order the links catagories"

    are you referring to the previous queries? - i think people aren't happy with the limitations and clunkyness of link management in general...

    I'm going to make myself useful by attempting to write a link category managing plugin this weekend - wish me luck

    after that i will probably alter it for managing links within categories.

    Question is - why hasn't this ordering functionality been built into wordpress already?

  10. blaqenedwyte
    Member
    Posted 9 years ago #

    Just want to keep this topic alive - I think the before/after sorter is an important feature that needs to be added to WP.

  11. froman118
    Member
    Posted 9 years ago #

    Just letting people know 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.