Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/30/2011 12:58:31 PM (12 years ago)
Author:
djpaul
Message:

Don't show empty <span> on posts if they have no tags. Fixes #3068, props modemlooper

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/single.php

    r4223 r4313  
    3131                        </div>
    3232
    33                         <p class="postmetadata"><span class="tags"><?php the_tags( __( 'Tags: ', 'buddypress' ), ', ', '<br />'); ?></span> <span class="comments"><?php comments_popup_link( __( 'No Comments &#187;', 'buddypress' ), __( '1 Comment &#187;', 'buddypress' ), __( '% Comments &#187;', 'buddypress' ) ); ?></span></p>
     33                        <p class="postmetadata"><?php the_tags( '<span class="tags">' . __( 'Tags: ', 'buddypress' ), ', ', '</span>' ); ?> <span class="comments"><?php comments_popup_link( __( 'No Comments &#187;', 'buddypress' ), __( '1 Comment &#187;', 'buddypress' ), __( '% Comments &#187;', 'buddypress' ) ); ?></span></p>
    3434
    3535                        <div class="alignleft"><?php previous_post_link( '%link', '<span class="meta-nav">' . _x( '&larr;', 'Previous post link', 'buddypress' ) . '</span> %title' ); ?></div>
Note: See TracChangeset for help on using the changeset viewer.