本文整理汇总了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
示例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');
示例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') . ' ', 'sep' => ' ', 'after' => '</p></div>'));
?>
<?php
if (bbp_show_lead_topic()) {
?>
<?php
bbp_get_template_part('content', 'single-topic-lead');
?>
<?php
}
?>
<?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') . ' ', 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: 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' ); ?>
示例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');
?>
示例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> ', '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()) {
?>