elbee-elgee / single-reply.php

<?php

/**
 * Single Reply
 *
 * @package bbPress
 * @subpackage Theme
 */

?>

<?php get_header(); ?>

<?php get_template_part( 'bbp-wrapper-header' ); ?>

				<?php do_action( 'bbp_template_notices' ); ?>

				<?php while ( have_posts() ) : the_post(); ?>

					<div id="bbp-reply-wrapper-<?php bbp_reply_id(); ?>" class="bbp-reply-wrapper">
						<h1 class="entry-title"><?php bbp_reply_title(); ?></h1>

						<?php bbp_breadcrumb(); ?>

						<div class="entry-content">

							<table class="bbp-replies" id="topic-<?php bbp_topic_id(); ?>-replies">
								<thead>
									<tr>
										<th class="bbp-reply-author"><?php  _e( 'Author',  'bbpress' ); ?></th>
										<th class="bbp-reply-content"><?php _e( 'Replies', 'bbpress' ); ?></th>
									</tr>
								</thead>

								<tfoot>
									<tr>
										<td colspan="2"><?php bbp_topic_admin_links(); ?></td>
									</tr>
								</tfoot>

								<tbody>
									<tr class="bbp-reply-header">
										<td class="bbp-reply-author">

											<?php bbp_reply_author_display_name(); ?>

										</td>
										<td class="bbp-reply-content">
											<a href="<?php bbp_reply_url(); ?>" title="<?php bbp_reply_title(); ?>">#</a>

											<?php printf( __( 'Posted on %1$s at %2$s', 'bbpress' ), get_the_date(), esc_attr( get_the_time() ) ); ?>

											<span><?php bbp_reply_admin_links(); ?></span>
										</td>
									</tr>

									<tr id="reply-<?php bbp_reply_id(); ?>" <?php bbp_reply_class(); ?>>

										<td class="bbp-reply-author"><?php bbp_reply_author_link( array( 'type' => 'avatar' ) ); ?></td>

										<td class="bbp-reply-content">

											<?php bbp_reply_content(); ?>

										</td>

									</tr><!-- #topic-<?php bbp_topic_id(); ?>-replies -->
								</tbody>
							</table>

						</div><!-- .entry-content -->
					</div><!-- #bbp-reply-wrapper-<?php bbp_reply_id(); ?> -->

				<?php endwhile; ?>

<?php get_template_part( 'bbp-wrapper-footer' ); ?>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.