name,'order'=>ASC,'number'=>1000000)); $links = array(); if ($tags) { $counts = $tag_links = array(); foreach ( (array) $tags as $tag ) { $counts[$tag->name] = $tag->count; $tag_links[$tag->name] = get_tag_link( $tag->term_id ); $tag_ids[$tag->name] = $tag->term_id; } foreach ( $counts as $tag => $count ) { $tag_id = $tag_ids[$tag]; $tag_link = clean_url($tag_links[$tag]); $links[] = "$tag"; } } if ($links) { $out = ""; $out .= '
'; $columnlength = ceil(sizeof($tags)/ $columns); $startat = 0; $groupposition = 1; foreach ($links as $link) { if ($startat == 0){ $out .= "
"; } $groupposition += 1; } if ($startat > 0) { $out .= "
"; } $out.="
"; } else { $out="No Tags"; } return $out; } ?>