mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-11 10:46:11 +09:00
@@ -222,7 +222,7 @@
|
||||
|
||||
<?php $i = 0; foreach( um_members('users_per_page') as $member) { $i++; um_fetch_user( $member ); ?>
|
||||
|
||||
<div class="um-member <?php echo um_user('account_status'); ?> <?php if ($cover_photos) { echo 'with-cover'; } ?>">
|
||||
<div class="um-member um-role-<?php echo um_user('role'); ?> <?php echo um_user('account_status'); ?> <?php if ($cover_photos) { echo 'with-cover'; } ?>">
|
||||
|
||||
<span class="um-member-status <?php echo um_user('account_status'); ?>"><?php echo um_user('account_status_name'); ?></span>
|
||||
|
||||
@@ -237,7 +237,7 @@
|
||||
?>
|
||||
|
||||
<div class="um-member-cover" data-ratio="<?php echo um_get_option('profile_cover_ratio'); ?>">
|
||||
<div class="um-member-cover-e"><?php echo um_user('cover_photo', $cover_size); ?></div>
|
||||
<div class="um-member-cover-e"><a href="<?php echo um_user_profile_url(); ?>" title="<?php echo um_user('display_name'); ?>"><?php echo um_user('cover_photo', $cover_size); ?></a></div>
|
||||
</div>
|
||||
|
||||
<?php } ?>
|
||||
|
||||
@@ -162,7 +162,7 @@
|
||||
if ( $sortby == 'other' && $sortby_custom ) {
|
||||
|
||||
$query_args['meta_key'] = $sortby_custom;
|
||||
$query_args['orderby'] = 'meta_value';
|
||||
$query_args['orderby'] = 'meta_value, display_name';
|
||||
|
||||
} else if ( in_array( $sortby, array( 'last_name', 'first_name' ) ) ) {
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<div class="um <?php echo $this->get_class( $mode ); ?> um-<?php echo $form_id; ?>">
|
||||
<div class="um <?php echo $this->get_class( $mode ); ?> um-<?php echo $form_id; ?> um-role-<?php echo um_user('role'); ?> ">
|
||||
|
||||
<div class="um-form">
|
||||
|
||||
|
||||
@@ -1399,6 +1399,7 @@ $this->sections[] = array(
|
||||
'desc' => __( 'Choose global ratio for cover photos of profiles','ultimatemember' ),
|
||||
'default' => um_get_metadefault('profile_cover_ratio'),
|
||||
'options' => array(
|
||||
'1.6:1' => '1.6:1',
|
||||
'2.7:1' => '2.7:1',
|
||||
'2.2:1' => '2.2:1',
|
||||
'3.2:1' => '3.2:1',
|
||||
|
||||
Reference in New Issue
Block a user