can anyone tell me how to alphabetize link categories?
-
and if so, what in all this:
<h3><?php _e(‘blogroll’,’bnOutThere’); ?></h3>
<?php $link_cats = $wpdb->get_results(“SELECT cat_id, cat_name FROM $wpdb->linkcategories”);
foreach ($link_cats as $link_cat) {
?>
<h4 id=”linkcat-<?php echo $link_cat->cat_id; ?>”><?php echo $link_cat->cat_name; ?></h4>-
<?php wp_get_links($link_cat->cat_id); ?>
<?php } ?>
does a girl change to get them to sort by name and not ID? every time I try I get syntax errors….I’m floundering here. hoo boy.
thank you!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘can anyone tell me how to alphabetize link categories?’ is closed to new replies.