Re: changing tag list view
It looks like the default for that function is a list, but table would also be accepted. But the other choice, table, would just return (i.e., I don’t think they ever finished that, but were maybe planning on having other options.)
function bb_list_tags( $args = null )
{
$defaults = array(
'tags' => false,
'format' => 'list',
'topic' => 0,
'list_id' => 'tags-list'
);
$args = wp_parse_args( $args, $defaults );
extract( $args, EXTR_SKIP );
if ( !$topic = get_topic( get_topic_id( $topic ) ) ) {
return false;
}
if ( !is_array( $tags ) ) {
$tags = bb_get_topic_tags( $topic->topic_id );
}
if ( !$tags ) {
return false;
}
$list_id = esc_attr( $list_id );
$r = '';
switch ( strtolower( $format ) ) {
case 'table' :
break;
case 'list' :
default :
$args['format'] = 'list';
$r .= '<ul id="' . $list_id . '" class="tags-list list:tag">' . "n";
foreach ( $tags as $tag ) {
$r .= _bb_list_tag_item( $tag, $args );
}
$r .= '</ul>';
break;
}
echo $r;
}
I hope someone else can come along and show how to do this with a plugin.