mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-15 12:43:33 +09:00
Bugfix Cover thumb sizes
The configured cover thumb were not considered on the members page.
This commit is contained in:
@@ -220,10 +220,12 @@
|
||||
|
||||
<?php if ($cover_photos) {
|
||||
|
||||
$sizes = um_get_option('cover_thumb_sizes');
|
||||
|
||||
if ( $ultimatemember->mobile->isTablet() ) {
|
||||
$cover_size = 600;
|
||||
$cover_size = $sizes[1];
|
||||
} else {
|
||||
$cover_size = 300;
|
||||
$cover_size = $sizes[0];
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user