当前位置: 首页>>代码示例>>PHP>>正文


PHP bbp_topic_tag_list函数代码示例

本文整理汇总了PHP中bbp_topic_tag_list函数的典型用法代码示例。如果您正苦于以下问题:PHP bbp_topic_tag_list函数的具体用法?PHP bbp_topic_tag_list怎么用?PHP bbp_topic_tag_list使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了bbp_topic_tag_list函数的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: bbp_topic_tag_list

    ?>

<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 
开发者ID:severnrescue,项目名称:web,代码行数:31,代码来源:form-topic.php

示例2: the_title

        ?>
                <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');
开发者ID:nikitansk,项目名称:devschool,代码行数:31,代码来源:bbpress.php

示例3: bbp_get_template_part

?>

	<?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 
开发者ID:jesusmarket,项目名称:jesusmarket,代码行数:31,代码来源:content-single-topic.php

示例4: bbp_topic_tag_list

    ?>

<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">
开发者ID:berniecultess,项目名称:infirev,代码行数:30,代码来源:form-topic.php

示例5: bbp_get_template_part

		<?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' ); ?>
开发者ID:niamherinoc,项目名称:rctractors,代码行数:30,代码来源:content-single-topic.php

示例6: bbp_get_template_part

		<?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');
    ?>
开发者ID:supahseppe,项目名称:path-of-gaming,代码行数:30,代码来源:content-single-topic.php

示例7: bbp_get_template_part

?>

	<?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()) {
        ?>
开发者ID:wilxsv,项目名称:prevensionPublicLibrary,代码行数:31,代码来源:content-single-topic.php


注:本文中的bbp_topic_tag_list函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。