本文整理汇总了PHP中bbp_single_topic_description函数的典型用法代码示例。如果您正苦于以下问题:PHP bbp_single_topic_description函数的具体用法?PHP bbp_single_topic_description怎么用?PHP bbp_single_topic_description使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了bbp_single_topic_description函数的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: 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');
?>
示例2: bbp_topic_tag_list
<?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">
示例3: bbp_get_template_part
?>
<?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
示例4: bbp_get_template_part
?>
<?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
示例5: bbp_topic_tag_list
<?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()) {
?>
<?php
bbp_get_template_part('content', 'single-topic-lead');
?>
<?php
}
?>
<?php