mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-19 22:54:03 +09:00
Fix members grid override
This commit is contained in:
@@ -215,11 +215,10 @@
|
|||||||
$file = um_path . 'templates/members-grid.php';
|
$file = um_path . 'templates/members-grid.php';
|
||||||
$theme_file = get_stylesheet_directory() . '/ultimate-member/templates/members-grid.php';
|
$theme_file = get_stylesheet_directory() . '/ultimate-member/templates/members-grid.php';
|
||||||
|
|
||||||
if ( file_exists( $theme_file ) )
|
if ( file_exists( $theme_file ) ){
|
||||||
$file = $theme_file;
|
$file = $theme_file;
|
||||||
|
|
||||||
if ( um_members('users_per_page') ) {
|
|
||||||
include_once $file;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
include_once $file;
|
||||||
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user