<?php
if ( ! defined( 'ABSPATH' ) ) exit;

/**
 * Pagination for pages of replies (when viewing a topic)
 *
 * @package bbPress
 * @subpackage Theme
 */

?>

<?php do_action( 'bbp_template_before_pagination_loop' ); ?>
<?php if ( bbp_get_topic_pagination_links() ) : ?>
<div class="bbp-pagination">
	<div class="bbp-pagination-count">

		<?php bbp_topic_pagination_count(); ?>

	</div>

	<div class="bbp-pagination-links">

		<?php bbp_topic_pagination_links(); ?>

	</div>
</div>

<?php endif; ?>

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