WordPress.org

Ready to get started?Download WordPress

Forums

Link Order Problem (10 posts)

  1. johnedmiston
    Member
    Posted 9 years ago #

    I would like the blogroll links on my blog to be in a certain (alphabetical) order, as this would help the students, however they seem to get jumbled - and be in chronological order.
    Using the sort by name function under manage links does not work.

    My WordPress blog is at:

    http://aibi.gospelcom.net/wordpress/

    How can I put the links in the right order?

    Thank you,

    John Edmiston

  2. whooami
    Member
    Posted 9 years ago #

    by saying they seem to get jumbled, do you mean they tend to switch order on you? thats due a setting in the admin area, i think its that miscellaneous option "track links update times". I do know there is a setting for that ... if thats not it

  3. johnedmiston
    Member
    Posted 9 years ago #

    I just tried the "track links" suggestion and while it changes things it still does not quite do what I want. I would like the Blogroll links to be in an order I can control (alphabetical order from top to bottom) instead they seem to be randomised.

  4. Jinsan
    Member
    Posted 9 years ago #

    does it still randomise when you turn off the tracking?

    you may want to try this tag:

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

    allows you to pull the links from link manager and control how they are displayed.

  5. jennmiller
    Member
    Posted 9 years ago #

    This page may be able to give you examples to order them the way you want ;
    http://codex.wordpress.org/Template_Tags/get_linksbyname

  6. johnedmiston
    Member
    Posted 9 years ago #

    This looks like just what I want. How/where do I add in the template tag code?

    Thanks,

    John

  7. Jinsan
    Member
    Posted 9 years ago #

    I don't know where it is in kubrick, but I assume it's the sidebar.php

    There should be something called blogroll in there, something like

    <h2>Blogroll</h2> Below that will be some code, just modify the example in the codex with the result that you want, and replace the existing tag. Back up your existing sidebar.php first

  8. jennmiller
    Member
    Posted 9 years ago #

    In your existing template, wherever you see the current get_links or list_links or something similar (in sidebar.php) , you would replace that function with the new one.

    *kicks self for being too slow* :)

  9. tov
    Member
    Posted 9 years ago #

    Try thinking "Alpha-Numeric"

    1- ZooThings
    2- BlaBlaBla
    3- Apples of Gold

    I did it here...
    http://phenomi.net/wordpress/

  10. froman118
    Member
    Posted 8 years ago #

    I created a plugin, My Link Order, that allows you to manually set the order of links and their categories if that is something you are looking for. It is only for WordPress 2.0 right now and can't find a download for a 1.5.2 build. If you need a 1.5.2 version let me know and I'll get a couple files from you that I need.

    My Link Order

Topic Closed

This topic has been closed to new replies.

About this Topic