| 1 |
<?php |
| 2 |
|
| 3 |
/** |
| 4 |
* User Replies Created |
| 5 |
* |
| 6 |
* @package bbPress |
| 7 |
* @subpackage Theme |
| 8 |
*/ |
| 9 |
|
| 10 |
// Exit if accessed directly |
| 11 |
defined( 'ABSPATH' ) || exit; |
| 12 |
|
| 13 |
do_action( 'bbp_template_before_user_replies' ); ?> |
| 14 |
|
| 15 |
<div id="bbp-user-replies-created" class="bbp-user-replies-created"> |
| 16 |
|
| 17 |
<?php bbp_get_template_part( 'form', 'reply-search' ); ?> |
| 18 |
|
| 19 |
<h2 class="entry-title"> <?php esc_html_e( 'Forum Replies Created', 'forumax' ); ?> </h2> |
| 20 |
<div class="bbp-user-section"> |
| 21 |
|
| 22 |
<?php if ( bbp_get_user_replies_created() ) : ?> |
| 23 |
|
| 24 |
<?php bbp_get_template_part( 'loop', 'replies' ); ?> |
| 25 |
|
| 26 |
<?php bbp_get_template_part( 'pagination', 'replies' ); ?> |
| 27 |
|
| 28 |
<?php else : ?> |
| 29 |
|
| 30 |
<?php bbp_get_template_part( 'feedback', 'no-replies' ); ?> |
| 31 |
|
| 32 |
<?php endif; ?> |
| 33 |
|
| 34 |
</div> |
| 35 |
</div><!-- #bbp-user-replies-created --> |
| 36 |
|
| 37 |
<?php do_action( 'bbp_template_after_user_replies' ); |
| 38 |
|