• Resolved emmons

    (@emmons)


    <?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; ?>"><div class="sb_header"><h2><?php echo $link_cat->cat_name; ?></h2></div>
    <ul>
    <?php wp_get_links($link_cat->cat_id); ?>
    </ul>
    </li>
    <?php

Viewing 1 replies (of 1 total)
  • Thread Starter emmons

    (@emmons)

    I tried this:

    <?php wp_list_categories('show_count=1&title_li=<div class="sb_header"><h2>Categories</h2></div>'); ?> <?php wp_list_bookmarks(); ?>

    but I can’t get the style applied to the headers. https://www.allysalbum.com

    Thanks for the help.

Viewing 1 replies (of 1 total)
  • The topic ‘Can someone fix this syntax for WP 2.1’ is closed to new replies.