本文整理汇总了PHP中bbp_topic_author_link函数的典型用法代码示例。如果您正苦于以下问题:PHP bbp_topic_author_link函数的具体用法?PHP bbp_topic_author_link怎么用?PHP bbp_topic_author_link使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了bbp_topic_author_link函数的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: bbp_author_ip
bbp_author_ip(bbp_get_topic_id());
?>
</div>
<?php
do_action('bbp_theme_after_topic_author_admin_details');
?>
<?php
}
?>
</div>
<!-- <div class="author"><span><?php
bbp_topic_author_link('type=name');
?>
</span></div> -->
<div class="meta-counts fr">
<span class="hits"><?php
_e('Hits:', 'bbpresskr');
?>
<strong><?php
bbpkr_topic_views();
?>
</strong></span>
<span class="favs"><?php
_e('Favorites:', 'bbpresskr');
?>
<strong><?php
echo bbPressKR\Topic::favorites_counts();
示例2: bbp_topic_id
<div id="post-<?php
bbp_topic_id();
?>
" <?php
bbp_topic_class();
?>
>
<div class="bbp-topic-author">
<?php
do_action('bbp_theme_before_topic_author_details');
?>
<?php
bbp_topic_author_link(array('sep' => '<br />', 'show_role' => true));
?>
<?php
if (bbp_is_user_keymaster()) {
?>
<?php
do_action('bbp_theme_before_topic_author_admin_details');
?>
<div class="bbp-topic-ip"><?php
bbp_author_ip(bbp_get_topic_id());
?>
</div>
示例3: bbp_topic_author_link
<?php
bbp_topic_author_link(array('sep' => '', 'show_role' => false, 'type' => 'avatar', 'size' => 65));
?>
<?php
do_action('bbp_theme_after_topic_author_details');
?>
</div><!-- .bbp-topic-author -->
<div class="bbp-topic-content">
<div class="mom-bbp-reply-author mom-main-font">
<span class="mom-main-color"><?php
bbp_topic_author_link(array('sep' => '', 'show_role' => false, 'type' => 'name'));
?>
</span> <?php
_e('on:', 'framework');
?>
<?php
bbp_reply_post_date();
?>
<a href="<?php
bbp_topic_permalink();
?>
" class="bbp-topic-permalink alignright">#<?php
bbp_topic_id();
?>
</a>
</div>
示例4: bbp_topic_last_reply_url
?>
</a>
<?php
if (bbp_get_topic_post_count() > 1) {
?>
<a class="last-reply-link" href="<?php
bbp_topic_last_reply_url();
?>
" title="Jump to the last reply">→</a>
<?php
}
?>
</h3>
<p class="forum-description">
Started by <?php
bbp_topic_author_link(array('type' => 'name'));
?>
<?php
if (!bbp_is_single_forum()) {
?>
in <a class="topic-location" href="<?php
bbp_forum_permalink(bbp_get_topic_forum_id());
?>
" title="Browse this forum"><?php
bbp_forum_title(bbp_get_topic_forum_id());
?>
</a>
<?php
}
?>
示例5: do_action
?>
<?php
do_action('bbp_theme_before_topic_meta');
?>
<div class="bbp-topic-interface">
<ul class="bbp-topic-interface-c">
<?php
do_action('bbp_theme_before_topic_started_by');
?>
<li class="bbp-topic-started-by">
<?php
bbp_topic_author_link(array('size' => '14'));
?>
</li>
<?php
do_action('bbp_theme_after_topic_started_by');
?>
<?php
do_action('bbp_theme_before_topic_freshness_link');
?>
<li class="bbp-topic-freshness">
<?php
bbp_topic_freshness_link();
示例6: bbp_topic_id
</td>
</tr>
<tr id="post-<?php
bbp_topic_id();
?>
" <?php
post_class('bbp-forum-topic');
?>
>
<td class="bbp-topic-author">
<?php
bbp_topic_author_link();
?>
<?php
if (is_super_admin()) {
?>
<div class="bbp-topic-ip"><?php
bbp_author_ip(bbp_get_topic_id());
?>
</div>
<?php
}
?>
示例7: bbp_topic_id
<div id="post-<?php
bbp_topic_id();
?>
" <?php
bbp_topic_class();
?>
>
<div class="bbp-topic-author">
<?php
do_action('bbp_theme_before_topic_author_details');
?>
<?php
bbp_topic_author_link(array('size' => 60, 'sep' => '<br />', 'show_role' => true, 'type' => 'avatar'));
?>
<?php
if (is_super_admin()) {
?>
<?php
do_action('bbp_theme_before_topic_author_admin_details');
?>
<div class="bbp-topic-ip"><?php
bbp_author_ip(bbp_get_topic_id());
?>
</div>
示例8: bbp_topic_id
</td>
</tr>
<tr id="post-<?php
bbp_topic_id();
?>
" <?php
post_class('bbp-forum-topic');
?>
>
<td class="bbp-topic-author">
<?php
bbp_topic_author_link(array('sep' => '<br />'));
?>
<?php
if (is_super_admin()) {
?>
<div class="bbp-topic-ip"><?php
bbp_author_ip(bbp_get_topic_id());
?>
</div>
<?php
}
?>
示例9: do_action
?>
<?php
}
?>
<?php
do_action('bbp_theme_after_topic_author_details');
?>
</div><!-- .bbp-topic-author -->
<div class="bbp-meta">
<?php
bbp_topic_author_link(array('type' => 'name', 'show_role' => false));
?>
<span class="bbp-topic-post-date"><?php
bbp_topic_post_date(bbp_get_topic_id());
?>
</span>
</div>
<div class="bbp-topic-content">
<?php
do_action('bbp_theme_before_topic_content');
?>
示例10: do_action
/**
* Search Loop - Single Topic
*
* @package bbPress
* @subpackage Theme
*/
?>
<div class="search-result">
<div class="avatar">
<div class="bbp-topic-author">
<?php
do_action('bbp_theme_before_topic_author_details');
$args = ['sep' => '', 'show_role' => true, 'type' => 'avatar'];
bbp_topic_author_link($args);
?>
</div><!-- .bbp-topic-author -->
</div>
<div class="result">
<div class="bbp-meta">
<div id="country" style="float:left;margin-right:.5em;"> <?php
$user = get_userdata(bbp_get_reply_author_id());
$country = xprofile_get_field_data(42, $user->ID);
dh_get_flag_by_location($country);
?>
</div>
<div class="smallusername">
<?php
示例11: bbp_topic_author_link
/**
* Single Topic Lead Content Part
*
* @package bbPress
* @subpackage Theme
*/
?>
<div class="topic-lead">
<div class="author">
<?php
bbp_topic_author_link(array('sep' => '', 'show_role' => false));
?>
<?php
do_action('bbp_theme_after_topic_author_details');
?>
<div id="country" style="float:inherit;margin-right:.5em;"> <?php
$user = get_userdata(bbp_get_reply_author_id());
$country = xprofile_get_field_data(42, $user->ID);
dh_get_flag_by_location($country);
?>
</div>
<?php
$user = get_userdata(bbp_get_reply_author_id());
if (!empty($user->user_nicename)) {
$user_nicename = $user->user_nicename;