Support » Fixing WordPress » Sidebar question for Tiga theme

  • Hi

    I’m setting up a blog at work with the Tiga 3-column Theme and have a (silly?) question regarding customizing the sidebars. If I add another link category both of them show up after each other. If I have “Blogroll 1” and “Blogroll 2” as my two link categories they display beneath each other. I’m no code guru and can’t figure out why they display like this. I actually want one category of links in the left sidebar and one in the right sidebar. I know how to move, insert and change the code but I’m unclear of how to display “Blogroll 1” on one side and “Blogroll 2” on the other.

    I have posted the code below and hope that somehow can point me in the right direction


    <!– Begin – Links from the ‘Links Manager’–>
    $link_cats = $wpdb->get_results(‘SELECT cat_id, cat_name FROM ‘ . $wpdb->categories . ‘ WHERE link_count > 0’);
    foreach ($link_cats as $link_cat) {
    <div class=”left-widget-title”
    id=”linkcat-<?php echo $link_cat->cat_id; ?>”>
    <?php echo $link_cat->cat_name; ?>
    <div class=”left-widget”>

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

    <!– End – Links from the ‘Links Manager’–>

  • The topic ‘Sidebar question for Tiga theme’ is closed to new replies.