-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsingle-forum_thread.php
More file actions
43 lines (27 loc) · 948 Bytes
/
single-forum_thread.php
File metadata and controls
43 lines (27 loc) · 948 Bytes
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
<?php get_header( 'forums' ); ?>
<main id="main-forums">
<div class="c nav-padding">
<?php get_template_part( 'forums', 'breadcrumbs' ); ?>
<?php if ( have_posts() ): ?>
<?php while ( have_posts() ): the_post(); ?>
<header id="forums-header">
<h1><?php the_title(); ?></h1>
</header>
<article id="article">
<p class="forum_thread-meta">
<?php the_author(); ?> |
<?php the_time( get_option( 'date_format' ) ); ?> |
<?php comments_number( '0 comments', '1 comment', '% comments' ); ?> |
<?php edit_post_link( 'Edit' ); ?>
</p>
<?php the_content(); ?>
<p class="forum_thread-meta">
<?php the_terms( get_the_ID(), 'forum_tag', 'Tagged as ' ); ?>
</p>
</article>
<?php endwhile; ?>
<?php endif; ?>
</div>
<?php comments_template( '/comments-forums.php' ); ?>
</main>
<?php get_footer( 'forums' ); ?>