本文整理汇总了PHP中bp_the_topic_last_poster_avatar函数的典型用法代码示例。如果您正苦于以下问题:PHP bp_the_topic_last_poster_avatar函数的具体用法?PHP bp_the_topic_last_poster_avatar怎么用?PHP bp_the_topic_last_poster_avatar使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了bp_the_topic_last_poster_avatar函数的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: bp_the_topic_total_posts
<?php
bp_the_topic_total_posts();
?>
</td>
<td class="td-freshness">
<span class="time-since"><?php
bp_the_topic_time_since_last_post();
?>
</span>
<p class="topic-meta">
<span class="freshness-author">
<a href="<?php
bp_the_topic_permalink();
?>
"><?php
bp_the_topic_last_poster_avatar('type=thumb&width=20&height=20');
?>
</a>
<?php
bp_the_topic_last_poster_name();
?>
</span>
</p>
</td>
<?php
do_action('bp_directory_forums_extra_cell');
?>
</tr>
开发者ID:nikitansk,项目名称:devschool,代码行数:30,代码来源:forums-loop.php
示例2: while
</tr>
</thead>
<tbody>
<?php while ( bp_forum_topics() ) : bp_the_forum_topic(); ?>
<tr class="<?php bp_the_topic_css_class() ?>">
<td class="td-title">
<a class="topic-title" href="<?php bp_the_topic_permalink() ?>" title="<?php bp_the_topic_title() ?> - <?php _e( 'Permalink', 'buddypress' ) ?>">
<?php bp_the_topic_title() ?>
</a>
</td>
<td class="td-poster">
<a href="<?php bp_the_topic_permalink() ?>"><?php bp_the_topic_last_poster_avatar( 'type=thumb&width=20&height=20' ) ?></a>
<div class="poster-name"><?php bp_the_topic_last_poster_name() ?></div>
</td>
<?php if ( !bp_is_group_forum() ) : ?>
<td class="td-group">
<a href="<?php bp_the_topic_object_permalink() ?>"><?php bp_the_topic_object_avatar( 'type=thumb&width=20&height=20' ) ?></a>
<div class="object-name"><a href="<?php bp_the_topic_object_permalink() ?>" title="<?php bp_the_topic_object_name() ?>"><?php bp_the_topic_object_name() ?></a></div>
</td>
<?php endif; ?>
<td class="td-postcount">
<?php bp_the_topic_total_posts() ?>
</td>
<td class="td-freshness">
<?php bp_the_topic_time_since_last_post() ?>
开发者ID:n-sane,项目名称:zaroka,代码行数:30,代码来源:forums-loop.php
示例3: bp_get_the_topic_object_permalink
<?php
$topic_in = '<a href="' . bp_get_the_topic_object_permalink() . '" title="' . bp_get_the_topic_object_name() . '">' . bp_get_the_topic_object_name() . '</a>';
printf(__('%1$s', 'huddle'), $topic_in);
?>
</span>
</p>
<?php
}
?>
</td>
<td class="td-freshness">
<?php
bp_the_topic_last_poster_avatar('width=35&height=35');
?>
<span class="time-since"><?php
printf(__('Last Reply %s', 'huddle'), bp_get_the_topic_time_since_last_post());
?>
</span>
<p class="topic-meta">
<span class="freshness-author">
<?php
_e('By · ', 'huddle');
bp_the_topic_last_poster_name();
?>
</span>
</p>
</td>
开发者ID:nxtclass,项目名称:NXTClass-themes,代码行数:31,代码来源:forums-loop.php
示例4: _e
?>
- <?php
_e('Permalink', 'buddypress');
?>
">
<?php
bp_the_topic_title();
?>
</a>
</td>
<td class="td-poster">
<a href="<?php
bp_the_topic_permalink();
?>
"><?php
bp_the_topic_last_poster_avatar('type=thumb&width=35&height=35');
?>
</a>
<div class="poster-name"><?php
bp_the_topic_last_poster_name();
?>
<br /><span class="freshness"><?php
bp_the_topic_time_since_last_post();
?>
ago</span></div>
</td>
<?php
if (!bp_is_group_forum()) {
?>
<td class="td-group">
开发者ID:par-orillonsoft,项目名称:Wishmagnet,代码行数:31,代码来源:forums-loop.php
注:本文中的bp_the_topic_last_poster_avatar函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论