本文整理汇总了PHP中bp_displayed_user_avatar函数的典型用法代码示例。如果您正苦于以下问题:PHP bp_displayed_user_avatar函数的具体用法?PHP bp_displayed_user_avatar怎么用?PHP bp_displayed_user_avatar使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了bp_displayed_user_avatar函数的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: do_action
do_action('bp_before_member_header');
?>
<div id="item-header-avatar" class="hidden-phone">
<a href="<?php
bp_user_link();
?>
">
<?php
$asize = '150';
if ($cap->bp_profiles_avatar_size != '') {
$asize = $cap->bp_profiles_avatar_size;
}
?>
<?php
bp_displayed_user_avatar('type=full&width=' . $asize . '&height=' . $asize);
?>
</a>
</div><!-- #item-header-avatar -->
<h3 style="" class="widgettitle"><a href="<?php
bp_user_link();
?>
"><?php
bp_displayed_user_fullname();
?>
</a> </h3>
<span class="highlight">@<?php
bp_displayed_user_username();
?>
示例2: do_action
* @since logicalbones 1.0
*/
?>
<?php
do_action('bp_before_member_header');
?>
<div id="item-header-avatar">
<a href="<?php
bp_displayed_user_link();
?>
">
<?php
bp_displayed_user_avatar('type=full');
?>
</a>
</div><!-- #item-header-avatar -->
<div id="item-header-content">
<h2>
<a href="<?php
bp_displayed_user_link();
?>
"><?php
bp_displayed_user_fullname();
?>
</a>
示例3: do_action
* @subpackage bp-legacy
*/
global $wpdb, $bp;
?>
<?php
do_action('bp_before_member_header');
?>
<div id="item-header-avatar">
<a href="<?php
bp_displayed_user_link();
?>
">
<?php
bp_displayed_user_avatar('type=full&width=225&height=225');
?>
</a>
</div><!-- #item-header-avatar -->
<div style="clear: both;"></div>
<div id="item-header-content">
<?php
if (bp_is_active('activity') && bp_activity_do_mentions()) {
?>
<h2 class="user-nicename"><?php
echo $bp->displayed_user->fullname;
?>
</h2>
<?php
}
示例4: do_action
// set an empty $strenghts str var so that we can add it to the profile after the supevisor
$strengths = '';
?>
<?php
do_action('bp_before_member_header');
?>
<div id="item-header-avatar" class="col-xs-3 col-md-3 fs-content-thumbnail">
<a href="<?php
bp_displayed_user_link();
?>
">
<?php
bp_displayed_user_avatar('type=full&width=170&height=170');
?>
</a>
</div><!-- #item-header-avatar -->
<div id="item-header-content" class="col-xs-9 col-md-9 fs-have-thumbnail">
<h2>
<a href="<?php
bp_displayed_user_link();
?>
"><?php
bp_displayed_user_fullname();
?>
</a>
示例5: bp_displayed_user_link
<div id="bp-embed-header">
<div class="bp-embed-avatar">
<a href="<?php
bp_displayed_user_link();
?>
">
<?php
bp_displayed_user_avatar('type=thumb&width=45&height=45');
?>
</a>
</div>
<?php
if (bp_activity_embed_has_activity(bp_current_action())) {
?>
<?php
while (bp_activities()) {
bp_the_activity();
?>
<p class="bp-embed-activity-action">
<?php
bp_activity_action(array('no_timestamp' => true));
?>
</p>
<?php
}
?>
<?php
示例6: bp_displayed_user_link
<div id="bp-embed-header">
<div class="bp-embed-avatar">
<a href="<?php
bp_displayed_user_link();
?>
">
<?php
bp_displayed_user_avatar('type=thumb&width=36&height=36');
?>
</a>
</div>
<p class="wp-embed-heading">
<a href="<?php
bp_displayed_user_link();
?>
">
<?php
bp_displayed_user_fullname();
?>
</a>
</p>
<?php
if (bp_is_active('activity') && bp_activity_do_mentions()) {
?>
<p class="bp-embed-mentionname">@<?php
bp_displayed_user_mentionname();
?>
</p>
示例7: do_action
* @subpackage bp-legacy
*/
?>
<?php
do_action('bp_before_member_header');
?>
<div id="item-header-avatar">
<a href="<?php
bp_displayed_user_link();
?>
">
<?php
bp_displayed_user_avatar('type=thumb&width=100&height=100');
?>
</a>
</div><!-- #item-header-avatar -->
<div id="item-header-content">
<?php
if (bp_is_active('activity') && bp_activity_do_mentions()) {
?>
<h2 class="user-nicename mom-main-color"><?php
bp_displayed_user_fullname();
?>
<em>(@<?php
bp_displayed_user_mentionname();
示例8: do_action
<div class="inner-sidebar <?php
do_action('wf_class_inner_sidebar');
?>
inner-sidebar-mobile">
<a id="close-buddypress-mobile-sidebar" class="close-panel-button" href="#">
<i class="fa fa-times-circle"></i> Close menu
</a>
<?php
if (bp_is_user()) {
?>
<div id="user-sidebar-menu" class="widget">
<?php
bp_displayed_user_avatar('width=' . bp_core_avatar_thumb_width() . '&height=' . bp_core_avatar_thumb_height());
?>
<?php
$userLink = bp_get_displayed_user_link();
?>
<strong><?php
echo bp_core_get_user_displayname(bp_displayed_user_id());
?>
</strong>
<br>
</div>
<?php
}
?>
<?php