• i use this code:

      <?php
      $exclude_cats = array(1, 10);
      $linkcats = $wpdb->get_results(“SELECT cat_id, cat_name FROM $wpdb->linkcategories ORDER BY cat_name”);
      foreach($linkcats as $linkcat) {
      if(!in_array($linkcat->cat_id, $exclude_cats)) {

      get_links($linkcat->cat_id, ‘

    • ‘, ‘
    • ‘, ”, 0, ‘rand’, 0, 0, 10, 1, 1);
      echo “\n”;
      }
      }
      ?>

    at myblog.andresloft.com. The result is as shown at the sidebar, the 2 categories right above the adsense. as you can see, the list is repeated. anyone can help? i don’t know what i’ve done wrong…

    do email me at [email protected]

    thansk

  • The topic ‘sidebar help: i want to include links but i’m not getting what i want…’ is closed to new replies.