I created a blogroll but it does not appear on the sidebar on the home page
I created a blogroll but it does not appear on the sidebar on the home page
If your theme has Widgets, you'll need to add the blogroll widget
Admin->Presentation->Widgets
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?
<?php
$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(); ?>
This topic has been closed to new replies.