[wpmu-trac] Re: [WordPress MU Trac] #261: Use of linkcategories in
freshy throws database error
WordPress MU Trac
wpmu-trac at lists.automattic.com
Thu Mar 1 03:37:42 GMT 2007
#261: Use of linkcategories in freshy throws database error
------------------------+---------------------------------------------------
Reporter: matthewsim | Owner: somebody
Type: defect | Status: new
Priority: normal | Milestone:
Component: component1 | Version:
Severity: normal | Resolution:
Keywords: |
------------------------+---------------------------------------------------
Comment (by matthewsim):
Let's try this again:
{{{
22,33c22,23
< <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;
?>"><?php echo $link_cat->cat_name; ?>
< <ul>
< <?php wp_get_links($link_cat->cat_id); ?>
< </ul>
< </li>
< <?php } ?>
< </ul>
---
> <?php get_links_list(); ?>
>
}}}
--
Ticket URL: <http://trac.mu.wordpress.org/ticket/261#comment:1>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser
More information about the wpmu-trac
mailing list