本文整理汇总了PHP中bbp_single_forum_description函数的典型用法代码示例。如果您正苦于以下问题:PHP bbp_single_forum_description函数的具体用法?PHP bbp_single_forum_description怎么用?PHP bbp_single_forum_description使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了bbp_single_forum_description函数的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: bbp_breadcrumb
<div class="col-md-9 col-sm-8">
<?php
bbp_breadcrumb();
?>
<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">
示例2: bbp_get_template_part
<?php
bbp_get_template_part('form', 'protected');
?>
<?php
} else {
?>
<div class="clearfix"></div>
<h1 class="vw-forum-title title title-large"><?php
the_title();
?>
</h1>
<?php
bbp_single_forum_description(array('before' => '<div class="bbp-forum-description header-font">', 'after' => '</div>'));
?>
<?php
if (bbp_has_forums()) {
?>
<?php
bbp_get_template_part('loop', 'forums');
?>
<?php
}
?>
<?php
示例3: bbp_single_forum_description
*
* @package bbPress
* @subpackage Theme
*/
?>
<?php
if (bbp_is_forum_edit()) {
?>
<div id="bbpress-forums" class='skeleton auto_align'>
<?php
bbp_single_forum_description(array('forum_id' => bbp_get_forum_id()));
?>
<?php
}
?>
<?php
if (bbp_current_user_can_access_create_forum_form()) {
?>
<div id="new-forum-<?php
bbp_forum_id();
?>
" class="bbp-forum-form">
示例4: bbp_get_template_part
?>
<?php
if (post_password_required()) {
?>
<?php
bbp_get_template_part('form', 'protected');
?>
<?php
} else {
?>
<?php
bbp_single_forum_description(array('before' => '<div class="bbp-template-notice info"><p class="bbp-forum-description">' . bbp_get_forum_subscription_link()));
?>
<?php
if (bbp_has_forums()) {
?>
<?php
bbp_get_template_part('loop', 'forums');
?>
<?php
}
?>
<?php
示例5: do_action
/**
* Single Forum Content Part
*
* @package bbPress
* @subpackage Theme
*/
?>
<div id="bbpress-forums">
<?php
do_action('bbp_template_before_single_forum');
if (post_password_required()) {
bbp_get_template_part('form', 'protected');
} else {
bbp_single_forum_description(array('before' => '<div class="alert alert-info">', 'after' => '</div>'));
if (bbp_has_forums()) {
bbp_get_template_part('loop', 'forums');
}
if (!bbp_is_forum_category() && bbp_has_topics()) {
bbp_get_template_part('pagination', 'topics');
bbp_get_template_part('loop', 'topics');
bbp_get_template_part('pagination', 'topics');
bbp_get_template_part('form', 'topic');
} elseif (!bbp_is_forum_category()) {
bbp_get_template_part('feedback', 'no-topics');
bbp_get_template_part('form', 'topic');
}
}
do_action('bbp_template_after_single_forum');
?>
示例6: bbp_get_template_part
?>
<?php
if (post_password_required()) {
?>
<?php
bbp_get_template_part('form', 'protected');
?>
<?php
} else {
?>
<?php
bbp_single_forum_description(array('before' => '<div class="bbp-template-notice info kleo-notice"><p class="bbp-forum-description">'));
?>
<?php
if (bbp_has_forums()) {
?>
<?php
bbp_get_template_part('loop', 'forums');
?>
<?php
}
?>
<?php