• Considering all I have figured out on my own (with the help of others) I feel stupid for even asking this one, but How Do I change The Order Of Link Categories.
    My Blog is at https://www.hometownquotes.com/blog and I am trying to change the order of the categories on the right (there are three so far). It is defaulted to alphabetical. I have tried a few ways, none with success.
    Any help is appreciated. Thanks!

Viewing 11 replies - 1 through 11 (of 11 total)
  • Found this in the wiki:

    How do I change the sort order of my links?

    Make these changes to INDEX.PHP
    Sort Links By…
    Date / Time Updated:

    <?php get_links(-1, ”, ”, ”, 0, ‘_updated’, 0, 0, -1, -1)?>

    Alphabetically:

    <?php get_links(-1, ”, ”, ”, 0, ‘name’, 0, 0, -1, -1)?>

    Or have a space before a link cat name when you enter it. That will lift it to the top of the list. More spaces means you can adjust to suit.

    Thread Starter matt7267

    (@matt7267)

    Both good ideas. Thank you both!

    Wow, spaces before the name is awesome! When displayed on the site the space is removed but that cat. immediately gets pushed to the top!

    Good thinking!

    Thread Starter matt7267

    (@matt7267)

    Yeah thanks for that idea…so simple and yet very effective. I almost didnt try it for fear of spaces before the words, but WOW!

    awesome, i was just looking for the answer to this very question. the spaces trick is pretty rockin’.

    no need to change any code in the theme or stylesheet.

    thanks!

    Actualy I personaly think it’s a stupid way to have to do it. There should be a way to set the order in a more logical manner.

    But what do I know? I’m just a gnome.

    Tg

    i agree, it should be an option to sort the catorgies by name, number, etc…just like, i don’t know maybe the same way you can set the “Sort Order” for the links within a category…maybe a good feature for 1.5.1 ??

    I have somewhat addressed the issue in this thread:

    https://www.ads-software.com/support/topic/11844

    PS, so far i haven’t created a plugin to solve it yet.

    Ok, so add spaces in the WP admin under Link Categories? I’ve tried that, but they aren’t moving. What am I doing wrong?

    If anyone is looking for a solution to the problem of ordering links and their categories try my plugin, My Link Order. It let’s you set an explicit order. None of this extra spaces stuff.

    https://geekyweekly.com/mylinkorder/

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