Esempio n. 1
0
            <div class="col-md-9 col-sm-8">
                <?php 
        bbp_breadcrumb();
        ?>
                <div class="pagetitle">
                    <h1><?php 
        the_title();
        ?>
</h1>
                    <?php 
        if (bbp_is_forum_archive()) {
            _e('All Forums directory', 'vibe');
        }
        if (bbp_is_single_forum()) {
            bbp_forum_subscription_link();
            bbp_single_forum_description();
        }
        if (bbp_is_single_topic()) {
            bbp_topic_tag_list();
            bbp_single_topic_description();
        }
        ?>
                    
                </div>
            </div>
            <div class="col-md-3 col-sm-4">
                <?php 
        if (bbp_allow_search()) {
            ?>

                    <div class="bbp-search-form">
		<?php 
    bbp_get_template_part('form', 'protected');
    ?>

	<?php 
} else {
    ?>

		<div class="clearfix"></div>
		<h1 class="vw-forum-title title title-large"><?php 
    the_title();
    ?>
</h1>

		<?php 
    bbp_single_forum_description(array('before' => '<div class="bbp-forum-description header-font">', 'after' => '</div>'));
    ?>

		<?php 
    if (bbp_has_forums()) {
        ?>

			<?php 
        bbp_get_template_part('loop', 'forums');
        ?>

		<?php 
    }
    ?>

		<?php 
Esempio n. 3
0
 *
 * @package bbPress
 * @subpackage Theme
 */
?>

<?php 
if (bbp_is_forum_edit()) {
    ?>

<div id="bbpress-forums" class='skeleton auto_align'>

	 

	<?php 
    bbp_single_forum_description(array('forum_id' => bbp_get_forum_id()));
    ?>

<?php 
}
?>

<?php 
if (bbp_current_user_can_access_create_forum_form()) {
    ?>

	<div id="new-forum-<?php 
    bbp_forum_id();
    ?>
" class="bbp-forum-form">
?>

	<?php 
if (post_password_required()) {
    ?>

		<?php 
    bbp_get_template_part('form', 'protected');
    ?>

	<?php 
} else {
    ?>

		<?php 
    bbp_single_forum_description(array('before' => '<div class="bbp-template-notice info"><p class="bbp-forum-description">' . bbp_get_forum_subscription_link()));
    ?>

		<?php 
    if (bbp_has_forums()) {
        ?>

			<?php 
        bbp_get_template_part('loop', 'forums');
        ?>

		<?php 
    }
    ?>

		<?php 
/**
 * Single Forum Content Part
 *
 * @package bbPress
 * @subpackage Theme
 */
?>

<div id="bbpress-forums">
	<?php 
do_action('bbp_template_before_single_forum');
if (post_password_required()) {
    bbp_get_template_part('form', 'protected');
} else {
    bbp_single_forum_description(array('before' => '<div class="alert alert-info">', 'after' => '</div>'));
    if (bbp_has_forums()) {
        bbp_get_template_part('loop', 'forums');
    }
    if (!bbp_is_forum_category() && bbp_has_topics()) {
        bbp_get_template_part('pagination', 'topics');
        bbp_get_template_part('loop', 'topics');
        bbp_get_template_part('pagination', 'topics');
        bbp_get_template_part('form', 'topic');
    } elseif (!bbp_is_forum_category()) {
        bbp_get_template_part('feedback', 'no-topics');
        bbp_get_template_part('form', 'topic');
    }
}
do_action('bbp_template_after_single_forum');
?>
Esempio n. 6
0
?>

	<?php 
if (post_password_required()) {
    ?>

		<?php 
    bbp_get_template_part('form', 'protected');
    ?>

	<?php 
} else {
    ?>

		<?php 
    bbp_single_forum_description(array('before' => '<div class="bbp-template-notice info kleo-notice"><p class="bbp-forum-description">'));
    ?>

		<?php 
    if (bbp_has_forums()) {
        ?>

			<?php 
        bbp_get_template_part('loop', 'forums');
        ?>

		<?php 
    }
    ?>

		<?php