- Timestamp:
- 05/06/2011 10:45:55 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/plugin/bbp-themes/bbp-twentyten/taxonomy-topic-tag.php
r3057 r3109 7 7 * @subpackage Theme 8 8 */ 9 10 //@todo - remove $term variable references11 $term = get_term_by( 'slug', get_query_var( 'term' ), get_query_var( 'taxonomy' ) );12 9 13 10 ?> … … 21 18 22 19 <div id="topic-tag" class="bbp-topic-tag"> 23 <h1 class="entry-title"><?php printf( __( 'Topic Tag: %s', 'bbpress' ), '<span>' . $term->name. '</span>' ); ?></h1>20 <h1 class="entry-title"><?php printf( __( 'Topic Tag: %s', 'bbpress' ), '<span>' . bbp_get_topic_tag_name() . '</span>' ); ?></h1> 24 21 25 22 <div class="entry-content"> 26 23 27 <?php term_description(); ?>24 <?php bbp_topic_tag_description(); ?> 28 25 29 <?php bbp_get_template_part( 'bbpress/pagination', 'topics' );?>26 <?php if ( bbp_has_topics() ) : ?> 30 27 31 <?php bbp_get_template_part( 'bbpress/loop','topics' ); ?>28 <?php bbp_get_template_part( 'bbpress/pagination', 'topics' ); ?> 32 29 33 <?php bbp_get_template_part( 'bbpress/pagination','topics' ); ?>30 <?php bbp_get_template_part( 'bbpress/loop', 'topics' ); ?> 34 31 35 <?php bbp_get_template_part( 'bbpress/form', 'topic-tag' ); ?> 32 <?php bbp_get_template_part( 'bbpress/pagination', 'topics' ); ?> 33 34 <?php bbp_get_template_part( 'bbpress/form', 'topic-tag' ); ?> 35 36 <?php else : ?> 37 38 <?php bbp_get_template_part( 'bbpress/no', 'topics' ); ?> 39 40 <?php endif; ?> 36 41 37 42 </div>
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)