好的,在一个朋友的帮助下,我完成了这件事。我抛弃了wp\\u list\\u书签,使用了get\\u术语和get\\u书签的组合。
function blogroll_page( $args = array() ) {
if(is_page(\'blogroll\')) {
if( $terms = get_terms( \'link_category\', $args = array(\'exclude\' => 16) ) )
{
foreach( $terms as $c )
{
printf( \'<h3>%s</h3>\', $c->name );
printf( \'<p>%s</p>\', $c->description );
if( $bookmarks = get_bookmarks( array( \'category\' => $c->term_id ) ) )
{
printf( \'<ul class="xoxo bookmarks">\' );
foreach( $bookmarks as $bm )
printf( \'<li><a href="%s" title="%s">%s</a></li>\', $bm->link_url, $bm->link_description, $bm->link_name );
printf( \'</ul>\' );
}
}
}
}
}