[ Index ] |
PHP Cross Reference of BuddyPress |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * BuddyPress - `new_avatar` activity type content part. 4 * 5 * This template is only used to display the `new_avatar` activity type content. 6 * 7 * @since 10.0.0 8 * @version 10.0.0 9 */ 10 ?> 11 <div class="bp-member-activity-preview"> 12 13 <?php if ( bp_activity_has_generated_content_part( 'user_cover_image' ) ) : ?> 14 <div class="bp-member-preview-cover"> 15 <a href="<?php bp_activity_generated_content_part( 'user_url' ); ?>"> 16 <img src="<?php bp_activity_generated_content_part( 'user_cover_image' ); ?>" alt=""/> 17 </a> 18 </div> 19 <?php endif; ?> 20 21 <div class="bp-member-short-description"> 22 <?php if ( bp_activity_has_generated_content_part( 'user_profile_photo' ) ) : ?> 23 <div class="bp-member-avatar-content <?php echo bp_activity_has_generated_content_part( 'user_cover_image' ) ? 'has-cover-image' : ''; ?>"> 24 <a href="<?php bp_activity_generated_content_part( 'user_url' ); ?>"> 25 <img src="<?php bp_activity_generated_content_part( 'user_profile_photo' ); ?>" class="profile-photo avatar" alt=""/> 26 </a> 27 </div> 28 <?php endif; ?> 29 30 <p class="bp-member-short-description-title"> 31 <a href="<?php bp_activity_generated_content_part( 'user_url' ); ?>"><?php bp_activity_generated_content_part( 'user_display_name' ); ?></a> 32 </p> 33 34 <p class="bp-member-nickname"> 35 <a href="<?php is_user_logged_in() ? bp_activity_generated_content_part( 'user_mention_url' ) : bp_activity_generated_content_part( 'user_url' ); ?>">@<?php bp_activity_generated_content_part( 'user_mention_name' ); ?></a> 36 </p> 37 38 <div class="bp-profile-button"> 39 <a href="<?php bp_activity_generated_content_part( 'user_url' ); ?>" class="button large primary button-primary" role="button"><?php esc_html_e( 'View Profile', 'buddypress'); ?></a> 40 </div> 41 </div> 42 </div>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Fri Nov 22 01:00:56 2024 | Cross-referenced by PHPXref 0.7.1 |