Can someone fix this syntax for WP 2.1
-
<?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)
Viewing 1 replies (of 1 total)
- The topic ‘Can someone fix this syntax for WP 2.1’ is closed to new replies.