Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter ladyuk

    (@ladyuk)

    Thanks, that did it.

    Here is the code I used, for example, if anyone else wants to use it

    <?php

    $link_cats = $wpdb->get_results(“SELECT cat_ID, cat_name FROM $wpdb->categories WHERE link_count > 0 ORDER BY cat_name ASC”);

    foreach ($link_cats as $link_cat) { ?>

    <h2> <?php echo $link_cat->cat_name;?></h2>

      <?php wp_get_links($link_cat->cat_ID);?>

    <?php }?>

Viewing 1 replies (of 1 total)