[wp-testers] Links broken?
Michael E. Hancock
mhancock at us.net
Sat Apr 1 17:21:09 GMT 2006
From: "Ajay D'Souza" <ajaydsouza at gmail.com>
> $link_cats = $wpdb->get_results("SELECT cat_id, cat_name FROM
$wpdb->linkcategories");
Ajay,
Yeah, linkcategories no longer exists so you'll need to replace the line
above with something like:
$link_cats =
get_categories("type=link&orderby=name&order=ASC&hierarchical=0");
You might want to look at the get_links_list functions in
template-functions-bookmarks.php...
Regards.
Michael
More information about the wp-testers
mailing list