Support » Fixing WordPress » Blogroll does not appear in sidebar

Viewing 3 replies - 1 through 3 (of 3 total)
  • If your theme has Widgets, you’ll need to add the blogroll widget

    If it doesn’t have widgets, you’ll need to edit the sidebar.php

    Same problem. The blogroll doesn’t show.
    See below the code i found in the sidebar.
    The theme is not widgitized.
    Something must be wrong with this code and I’m not very good with php. Can anybody help me out?

     $link_cats = $wpdb->get_results("SELECT cat_id, cat_name FROM $wpdb->linkcategories");
     foreach ($link_cats as $link_cat) {
      <div id="linkcat-<?php echo $link_cat->cat_id; ?>" class="sideheading"><?php echo $link_cat->cat_name; ?></div>
       <ul class="heart">
        <?php wp_get_links($link_cat->cat_id); ?>
     <?php } ?>

    Solved, thanx anyway
    I exchanged the above, rather complicated version to the one below. Works fine and is far less headache.

    <div class=”sideheading”>Resources</div>
    <ul class=”heart”>
    <?php get_links_list(); ?>

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Blogroll does not appear in sidebar’ is closed to new replies.