-
Notifications
You must be signed in to change notification settings - Fork 0
/
taxonomy-topic-tag.php
52 lines (32 loc) · 1.14 KB
/
taxonomy-topic-tag.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?php
/**
* Topic Tag
*
* @package bbPress
* @subpackage Theme
*/
?>
<?php get_header(); ?>
<div id="container">
<div id="content" role="main">
<?php do_action( 'bbp_template_notices' ); ?>
<div id="topic-tag" class="bbp-topic-tag">
<h1 class="entry-title"><?php printf( __( 'Topic Tag: %s', 'bbpress' ), '<span>' . bbp_get_topic_tag_name() . '</span>' ); ?></h1>
<div class="entry-content">
<?php bbp_breadcrumb(); ?>
<?php bbp_topic_tag_description(); ?>
<?php do_action( 'bbp_template_before_topic_tag' ); ?>
<?php if ( bbp_has_topics() ) : ?>
<?php bbp_get_template_part( 'bbpress/pagination', 'topics' ); ?>
<?php bbp_get_template_part( 'bbpress/loop', 'topics' ); ?>
<?php bbp_get_template_part( 'bbpress/pagination', 'topics' ); ?>
<?php else : ?>
<?php bbp_get_template_part( 'bbpress/feedback', 'no-topics' ); ?>
<?php endif; ?>
<?php do_action( 'bbp_template_after_topic_tag' ); ?>
</div>
</div><!-- #topic-tag -->
</div><!-- #content -->
</div><!-- #container -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>