WordPress.org

Support

Support » Your WordPress » The Spiderbox dot com

The Spiderbox dot com

  • 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.

Viewing 1 replies (of 1 total)
  • Just in case anyone else is having this problem, I searched the codex and pulled this code out, which fixed my above mentioned problem:


    <ul>
    <?php
    $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>
    <ul>
    <?php wp_get_links($link_cat->cat_id); ?>
    </ul>
    </li>
    <?php } ?>
    </ul>

    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.

Viewing 1 replies (of 1 total)
  • The topic ‘The Spiderbox dot com’ is closed to new replies.
Skip to toolbar