WordPress.org

Forums

List Bookmarks Categories as Links (2 posts)

  1. baszer
    Member
    Posted 3 years ago #

    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?

  2. Creative Slice
    Member
    Posted 3 years ago #

    I'm also looking for a solution to this. Any ideas?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.