[wp-testers] 2.2 bleeding and tags

Jeremy Visser jeremy.visser at gmail.com
Tue Apr 10 02:19:03 GMT 2007


spencerp wrote:
> Just was wondering, would it be possible to add an "if function exists"
> to the tag code for themes?
> <?php the_tags('Tags: ', ', ', '<br />'); ?>
> 
> If so, what would be the easiest way of doing it? I wouldn't mind adding
> the "if function exists" to my VB.net theme.. ;) :)

<?php if ( function_exists( 'the_tags' ) ) : the_tags('Tags: ', ', ',
'<br />'); endif; ?>


More information about the wp-testers mailing list