Limit number of tags in output?


Author Message
Andreas

Posted: 10/26/2012
Quote message 

Hi,
I have some articles with a lot of tags (generated automatically). So the list of tags on each post is sometimes very long.
Is there a chance to limit the number of tags for the output to (maybe) 50?

I think this must be done in the functions.php:

case 'tag':
$tags_list = get_the_tag_list( '', ', ' );
if(!$tags_list) break;
$result[] = theme_get_meta_icon('posttagicon', 18, 18) . sprintf( __( '<span class="%1$s">Tagged</span> %2$s', THEME_NS ), 'tags', $tags_list );
break;

I am not very familiar with php. Can someone please help to include this for me?
Many thanks!
Andy
 
Andreas

Posted: 10/29/2012
Quote message 

No one has an idea?
 
Andreas

Posted: 10/31/2012
Quote message 

no one? O:)
 
Andreas

Posted: 11/8/2012
Quote message 

push...