本文整理汇总了PHP中bp_get_the_topic_is_last_page函数的典型用法代码示例。如果您正苦于以下问题:PHP bp_get_the_topic_is_last_page函数的具体用法?PHP bp_get_the_topic_is_last_page怎么用?PHP bp_get_the_topic_is_last_page使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了bp_get_the_topic_is_last_page函数的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: bp_the_topic_is_last_page
/**
* Output whether this is the last page in the current topic.
*/
function bp_the_topic_is_last_page()
{
echo bp_get_the_topic_is_last_page();
}
示例2: bp_the_topic_pagination_count
<div class="pagination no-ajax">
<div id="post-count" class="pag-count">
<?php bp_the_topic_pagination_count() ?>
</div>
<div class="pagination-links" id="topic-pag">
<?php bp_the_topic_pagination() ?>
</div>
</div>
<?php if ( ( is_user_logged_in() && 'public' == bp_get_group_status() ) || bp_group_is_member() ) : ?>
<?php if ( bp_get_the_topic_is_last_page() ) : ?>
<?php if ( bp_get_the_topic_is_topic_open() ) : ?>
<div id="post-topic-reply">
<p id="post-reply"></p>
<?php if ( bp_groups_auto_join() && !bp_group_is_member() ) : ?>
<p><?php _e( 'You will auto join this group when you reply to this topic.', 'buddypress' ) ?></p>
<?php endif; ?>
<?php do_action( 'groups_forum_new_reply_before' ) ?>
<h4><?php _e( 'Add a reply:', 'buddypress' ) ?></h4>
<textarea name="reply_text" id="reply_text"></textarea>
示例3: bp_the_topic_pagination
<div class="pagination-links" id="topic-pag-bottom">
<?php
bp_the_topic_pagination();
?>
</div>
</div>
<?php
if (is_user_logged_in()) {
?>
<?php
if (bp_get_the_topic_is_last_page()) {
?>
<?php
if (bp_get_the_topic_is_topic_open()) {
?>
<div id="post-topic-reply">
<p id="post-reply"></p>
<?php
do_action('groups_forum_new_reply_before');
?>
<h4><?php
_e('Add a reply:', 'product');
示例4: bp_the_topic_pagination_count
<div class="pagination no-ajax">
<div id="post-count-bottom" class="pag-count">
<?php
bp_the_topic_pagination_count();
?>
</div>
<div class="pagination-links" id="topic-pag-bottom">
<?php
bp_the_topic_pagination();
?>
</div>
</div>
<?php
if (is_user_logged_in() && bp_get_the_topic_is_last_page()) {
?>
<?php
if (bp_get_the_topic_is_topic_open()) {
?>
<div id="post-topic-reply">
<p id="post-reply"></p>
<?php
do_action('groups_forum_new_reply_before');
?>
<h4><?php
_e('Add a reply:', 'buddypress');
?>