• In the link manager page – the links are sorted by the name I believe.
    What I want – for ease of use – is to sort those by Category, then within the categories, I’d like them sorted by name.
    In the link-manager.php file on line… 658 (ish) there is this
    $sql .= ‘ ORDER BY link_’ . $sqlorderby;
    I changed mine to this:
    $sql .= ‘ ORDER BY cat_’ . $sqlorderby;
    Now – it is ordering by category but the links in the categories are just like randomly sorted.
    How do I add a thing like… first sort by category, then my name within each category.
    thanks – rYno

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Chuck Reynolds

    (@ryno267)

    bump please…

    If you was doing it the straight SQL-way (hacking the code) then you’d add a second parameter (or as many as you want).
    .ie: ORDER BY cat name ASC
    Which would order by cat, then with that, order by name.
    But, I haven’t a clue on a simple way to hack that into WP, sorry.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘assorting links in wp-admin/link-manager.php’ is closed to new replies.