hesabixWpTheme/bbpress/content-single-user.php

50 lines
1.4 KiB
PHP

<?php
/**
* پروفایل کاربر انجمن — Hesabix2
*
* @package Hesabix2
* @subpackage bbPress
*/
defined( 'ABSPATH' ) || exit;
?>
<div id="bbpress-forums" class="bbpress-wrapper">
<?php do_action( 'bbp_template_notices' ); ?>
<?php do_action( 'bbp_template_before_user_wrapper' ); ?>
<div id="bbp-user-wrapper">
<?php bbp_get_template_part( 'user', 'details' ); ?>
<div id="bbp-user-body">
<?php if ( bbp_is_favorites() ) : ?>
<?php bbp_get_template_part( 'user', 'favorites' ); ?>
<?php endif; ?>
<?php if ( bbp_is_subscriptions() ) : ?>
<?php bbp_get_template_part( 'user', 'subscriptions' ); ?>
<?php endif; ?>
<?php if ( bbp_is_single_user_engagements() ) : ?>
<?php bbp_get_template_part( 'user', 'engagements' ); ?>
<?php endif; ?>
<?php if ( bbp_is_single_user_topics() ) : ?>
<?php bbp_get_template_part( 'user', 'topics-created' ); ?>
<?php endif; ?>
<?php if ( bbp_is_single_user_replies() ) : ?>
<?php bbp_get_template_part( 'user', 'replies-created' ); ?>
<?php endif; ?>
<?php if ( bbp_is_single_user_edit() ) : ?>
<?php bbp_get_template_part( 'form', 'user-edit' ); ?>
<?php endif; ?>
<?php if ( bbp_is_single_user_profile() ) : ?>
<?php bbp_get_template_part( 'user', 'profile' ); ?>
<?php endif; ?>
</div>
</div>
<?php do_action( 'bbp_template_after_user_wrapper' ); ?>
</div>