Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
03/23/2011 09:14:24 PM (14 years ago)
Author:
boonebgorges
Message:

Modifies bp_forum_topic_tag_list() to use tag data from the topic_template global. Displays the topic tags underneath the topic title on the single topic page. Fixes #2281

File:
1 edited

Legend:

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

    r3928 r4149  
    2424        <div id="topic-meta">
    2525            <h3><?php bp_the_topic_title() ?> (<?php bp_the_topic_total_post_count() ?>)</h3>
     26           
     27            <?php if ( bp_forum_topic_has_tags() ) : ?>
     28               
     29                <div class="topic-tags">
     30               
     31                    <?php _e( 'Topic tags:', 'buddypress' ) ?> <?php bp_forum_topic_tag_list() ?>
     32               
     33                </div>
     34               
     35            <?php endif; ?>
    2636
    2737            <?php if ( bp_group_is_admin() || bp_group_is_mod() || bp_get_the_topic_is_mine() ) : ?>
Note: See TracChangeset for help on using the changeset viewer.