Example #1
0
                <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', 'search');
            ?>
Example #2
0
	 

<?php 
}
?>

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

	<?php 
    bbp_topic_tag_list(bbp_get_topic_id());
    ?>

	<?php 
    bbp_single_topic_description(array('topic_id' => bbp_get_topic_id()));
    ?>

<?php 
}
?>

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

	<div id="new-topic-<?php 
    bbp_topic_id();
    ?>
" class="bbp-topic-form">
Example #3
0
    ?>

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

	<?php 
} else {
    ?>

		<?php 
    bbp_topic_tag_list();
    ?>

		<?php 
    bbp_single_topic_description(array('before' => '<div class="bbp-template-notice info kleo-notice"><p class="bbp-topic-description">', 'size' => 30));
    ?>

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

			<?php 
        bbp_get_template_part('content', 'single-topic-lead');
        ?>

		<?php 
    }
    ?>

		<?php 
    ?>

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

	<?php 
} else {
    ?>

		<?php 
    bbp_topic_tag_list();
    ?>

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

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

			<?php 
        bbp_get_template_part('content', 'single-topic-lead');
        ?>

		<?php 
    }
    ?>

		<?php 
	<?php 
} else {
    ?>

		<?php 
    bbp_topic_tag_list(0, array('before' => '<div class="bbp-topic-tags post-tags clearfix"><p><span class="post-tags-title header-font">' . esc_html__('Tagged:', 'bbpress') . '</span>&nbsp;', 'sep' => '', 'after' => '</p></div>'));
    ?>

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

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

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

			<?php 
        bbp_get_template_part('content', 'single-topic-lead');
        ?>

		<?php 
    }
    ?>

		<?php