Support » Plugins » Hacks » Custom Taxonomy – Link Categories

  • Hey folks,

    I’m using the following code to output a list of the categories for bookmarks/blogroll/links (whatever it is officially called) and I can’t ge the id to display, looking in the admin panel there is a hidden field called link_id but I can’t get that to come out in the output? Is there a way to print out a list of fields that can be used when displaying custom taxonomies?

     $terms = get_terms("link_category");
     $count = count($terms);
     if ( $count > 0 ){
         echo "<ul>";
         foreach ( $terms as $term ) {
           echo "<li><a href='?county=" . $term->id . "#testimonials'>" . $term->name . "</a></li>";
         echo "</ul>";

    Any ideas would be great, thank you!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Custom Taxonomy – Link Categories’ is closed to new replies.