The Spiderbox dot com (2 posts)

  1. interknox
    Posted 11 years ago #

    Hello!!! I have finished moving to a new host w/ a new domain and a new install of WP 1.5. I used the Mallow theme and modified it quite a bit.

    Still having problems getting different "Links" to display on the sidebar properly. With the default theme, each link category had their own heading with their links listed below. Mallow doesn't seem to do this...but I'm working on it.

    Anyways, here you go. Feedback would be great....keep in mind, IE breaks the buttons a little on the header. Not sure why.

    The Spiderbox.

  2. interknox
    Posted 11 years ago #

    Just in case anyone else is having this problem, I searched the codex and pulled this code out, which fixed my above mentioned problem:

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

    If you use this, remember (as I failed to notice for hours) that there are <h2> tags in there...that might mess with your CSS and look.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.