• My blog is http://www.neveryetmelted.com

    I’m running WordPress 2.001 — Theme is: A Blog Beyond

    ————————

    I have lots of links and lots of link categories. Link categories’ order of appearance in column 2 is supposed to be by number. What actually happens is that (with an unaccountable exception or 2), link categories appear in the order in which they were created.

    I went into the SQL server (which is a royal pain in the …, and changed the ID numbers of the link categories, so as to have them appear in my preferred (alphabetical) order. But it did not work.

    The relevant code is:

    get_results(�SELECT cat_id, cat_name FROM $wpdb->linkcategories�);
    foreach ($link_cats as $link_cat) {
    ?>
    cat_id; ?>�>cat_name; ?>
    cat_id); ?>

    —————————————-

    It refers to category id, which can’t be anything but catelogy id number. This is the relevant code, so I’m now confounded.

  • The topic ‘Puzzling Link Category Problem’ is closed to new replies.