• 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

Viewing 10 replies - 1 through 10 (of 10 total)
  • 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.

    Thread Starter clay

    (@clay)

    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

    I agree

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

    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’) ?>

    https://codex.www.ads-software.com/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: https://codex.www.ads-software.com/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…

    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?

    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?

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

    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

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Change Link Order request’ is closed to new replies.