Support » Plugins » List Bookmarks Categories as Links

  • Hi,

    I want a list of my bookmarks, thats easy:
    <?php wp_list_bookmarks(); ?>

    In the sidebar I created I want a sort of menu. Because my bookmark list is very long. I have the following code to list my categories

    <?php
    $taxonomy = 'link_category';
    $title = 'Link Category: ';
    $args ='';
    $terms = get_terms( $taxonomy, $args );
    if ($terms) {
    foreach($terms as $term) {
    if ($term->count > 0) {
    echo '<p>' . $term->name . ' </p> ';
    }
    }
    }
    ?>

    But this only outputs a list with all my categories. I need them to be clickable. Anybody an idea?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘List Bookmarks Categories as Links’ is closed to new replies.