Support » How-To and Troubleshooting » Blogroll does not appear in sidebar

Blogroll does not appear in sidebar

  • dmiceweb


    I created a blogroll but it does not appear on the sidebar on the home page

Viewing 3 replies - 1 through 3 (of 3 total)
  • brockangelo


    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.