mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-14 04:06:36 +09:00
Fix member directory mobile pagination
This commit is contained in:
@@ -135,7 +135,7 @@
|
||||
<?php _e('Jump to page:','ultimatemember'); ?>
|
||||
|
||||
<?php if ( um_members('pages_to_show') && is_array( um_members('pages_to_show') ) ) { ?>
|
||||
<select onChange="window.location.href=this.value" class="um-s1" style="width: 100px">
|
||||
<select onChange="window.location.href=this.value" class="um-s2" style="width: 100px">
|
||||
<?php foreach( um_members('pages_to_show') as $i ) { ?>
|
||||
<option value="<?php echo $ultimatemember->permalinks->add_query( 'members_page', $i ); ?>" <?php selected($i, um_members('page')); ?>><?php printf(__('%s of %d','ultimatemember'), $i, um_members('total_pages') ); ?></option>
|
||||
<?php } ?>
|
||||
|
||||
Reference in New Issue
Block a user