コード例 #1
0
ファイル: form-topic.php プロジェクト: severnrescue/web
    ?>

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

	 

<?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 
コード例 #2
0
ファイル: bbpress.php プロジェクト: nikitansk/devschool
        ?>
                <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');
コード例 #3
0
?>

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

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

	<?php 
} else {
    ?>

		<?php 
    bbp_topic_tag_list(bbp_get_topic_id(), array('before' => '<div class="bbp-topic-tags"><p>' . esc_html__('Tags:', 'framework') . '&nbsp;', 'sep' => ' ', 'after' => '</p></div>'));
    ?>

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

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

		<?php 
    }
    ?>

		<?php 
コード例 #4
0
ファイル: form-topic.php プロジェクト: berniecultess/infirev
    ?>

<div id="bbpress-forums">



<?php 
}
?>

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

	<?php 
    bbp_topic_tag_list(bbp_get_topic_id(), array('before' => '<div class="bbp-topic-tags"><p>' . esc_html__('Tags:', 'evolve') . '&nbsp;', sep => ' '));
    ?>

<?php 
}
?>

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

	<div id="new-topic-<?php 
    bbp_topic_id();
    ?>
" class="bbp-topic-form">
コード例 #5
0
		<?php bbp_get_template_part( 'form', 'protected' ); ?>

	<?php else : ?>


		<?php bbp_single_topic_description(); ?>

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

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

		<?php endif; ?>

		<?php if ( bbp_has_replies() ) : ?>

			<?php bbp_topic_tag_list(); ?>

			<?php bbp_get_template_part( 'pagination', 'replies' ); ?>

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

			<?php bbp_get_template_part( 'pagination', 'replies' ); ?>

		<?php endif; ?>

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

	<?php endif; ?>

	<?php do_action( 'bbp_template_after_single_topic' ); ?>
コード例 #6
0
		<?php 
    }
    ?>

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

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

			<footer class="entry-meta">
			<?php 
        $args = array('before' => '<span class="tag-links"><i class="fa fa-tags"></i>', 'sep' => '', 'after' => '</span>');
        bbp_topic_tag_list(0, $args);
        ?>
			</footer>

			<?php 
        bbp_get_template_part('pagination', 'replies');
        ?>

		<?php 
    }
    ?>

		<?php 
    bbp_get_template_part('form', 'reply');
    ?>
コード例 #7
0
?>

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

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

	<?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()) {
        ?>