hesabixWpTheme/bbpress/user-topics-created.php

35 lines
896 B
PHP

<?php
/**
* موضوعات ایجادشدهٔ کاربر
*
* @package Hesabix2
* @subpackage bbPress
*/
defined( 'ABSPATH' ) || exit;
do_action( 'bbp_template_before_user_topics_created' ); ?>
<div id="bbp-user-topics-started" class="bbp-user-topics-started">
<?php bbp_get_template_part( 'form', 'topic-search' ); ?>
<h2 class="entry-title hesabix2-bbp-section-title"><?php esc_html_e( 'موضوعات ایجادشده', 'hesabix2' ); ?></h2>
<div class="bbp-user-section">
<?php if ( bbp_get_user_topics_started() ) : ?>
<?php bbp_get_template_part( 'pagination', 'topics' ); ?>
<?php bbp_get_template_part( 'loop', 'topics' ); ?>
<?php bbp_get_template_part( 'pagination', 'topics' ); ?>
<?php else : ?>
<?php bbp_get_template_part( 'feedback', 'no-topics' ); ?>
<?php endif; ?>
</div>
</div>
<?php do_action( 'bbp_template_after_user_topics_created' );