Making WordPress.org


Ignore:
Timestamp:
12/16/2024 07:53:28 PM (15 months ago)
Author:
johnjamesjacoby
Message:

BuddyPress/bbPress: enfreshen the bb-base theme

See: https://buddypress.trac.wordpress.org/ticket/9262

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/buddypress.org/public_html/wp-content/themes/bb-base/bbpress/loop-single-reply.php

    r4077 r14281  
    2727        <?php do_action( 'bbp_theme_before_reply_author_details' ); ?>
    2828
    29         <?php bbp_reply_author_link( array( 'sep' => '<br />', 'show_role' => true, 'size' => 100 ) ); ?>
     29        <?php bbp_reply_author_link( array( 'sep' => '', 'type' => 'avatar', 'show_role' => false, 'size' => 80 ) ); ?>
    3030
    31         <?php bbp_user_nicename( bbp_get_reply_author_id(), array( 'before' => '<p class="bbp-user-nicename">@', 'after' => '</p>' ) ); ?>
     31        <div class="bbp-reply-author-info">
     32
     33            <?php bbp_user_nicename( bbp_get_reply_author_id(), array( 'before' => '<p class="bbp-user-nicename">@', 'after' => '</p>' ) ); ?>
     34
     35            <?php bbp_reply_author_role( array( 'topic_id' => bbp_get_reply_id() ) ); ?>
     36
     37            <?php if ( is_super_admin() ) : ?>
     38
     39                <?php do_action( 'bbp_theme_before_reply_author_admin_details' ); ?>
     40
     41                <div class="bbp-reply-ip"><?php bbp_author_ip( bbp_get_reply_id() ); ?></div>
     42
     43                <?php do_action( 'bbp_theme_after_reply_author_admin_details' ); ?>
     44
     45            <?php endif; ?>
     46
     47        </div>
    3248
    3349        <p class="bbp-reply-post-date"><a href="<?php bbp_reply_url(); ?>" title="#<?php bbp_reply_id(); ?>" class="bbp-reply-permalink"><?php bbp_reply_post_date( bbp_get_reply_id(), true ); ?></a></p>
    34 
    35         <?php if ( is_super_admin() ) : ?>
    36 
    37             <?php do_action( 'bbp_theme_before_reply_author_admin_details' ); ?>
    38 
    39             <div class="bbp-reply-ip"><?php bbp_author_ip( bbp_get_reply_id() ); ?></div>
    40 
    41             <?php do_action( 'bbp_theme_after_reply_author_admin_details' ); ?>
    42 
    43         <?php endif; ?>
    4450
    4551        <?php do_action( 'bbp_theme_after_reply_author_details' ); ?>
Note: See TracChangeset for help on using the changeset viewer.