diff --git a/includes/admin/templates/directory/pagination.php b/includes/admin/templates/directory/pagination.php index 35967074..ed0af1e2 100644 --- a/includes/admin/templates/directory/pagination.php +++ b/includes/admin/templates/directory/pagination.php @@ -39,25 +39,28 @@ 'size' => 'small' ), array( - 'id' => '_um_directory_header', - 'type' => 'text', - 'label' => __( 'Results Text', 'ultimate-member' ), - 'tooltip' => __( 'Customize the search result text . e.g. Found 3,000 Members. Leave this blank to not show result text', 'ultimate-member' ), - 'value' => UM()->query()->get_meta_value('_um_directory_header', null, __( '{total_users} Members', 'ultimate-member' ) ), + 'id' => '_um_directory_header', + 'type' => 'text', + 'label' => __( 'Results Text', 'ultimate-member' ), + 'tooltip' => __( 'Customize the search result text . e.g. Found 3,000 Members. Leave this blank to not show result text', 'ultimate-member' ), + 'placeholder' => __( '{total_users} Members', 'ultimate-member' ), + 'value' => UM()->query()->get_meta_value('_um_directory_header', null, 'na' ), ), array( - 'id' => '_um_directory_header_single', - 'type' => 'text', - 'label' => __( 'Single Result Text', 'ultimate-member' ), - 'tooltip' => __( 'Same as above but in case of 1 user found only', 'ultimate-member' ), - 'value' => UM()->query()->get_meta_value('_um_directory_header_single', null, __( '{total_users} Member', 'ultimate-member' ) ), + 'id' => '_um_directory_header_single', + 'type' => 'text', + 'label' => __( 'Single Result Text', 'ultimate-member' ), + 'tooltip' => __( 'Same as above but in case of 1 user found only', 'ultimate-member' ), + 'placeholder' => __( '{total_users} Member', 'ultimate-member' ), + 'value' => UM()->query()->get_meta_value('_um_directory_header_single', null, 'na' ), ), array( - 'id' => '_um_directory_no_users', - 'type' => 'text', - 'label' => __( 'Custom text if no users were found', 'ultimate-member' ), - 'tooltip' => __( 'This is the text that is displayed if no users are found during a search', 'ultimate-member' ), - 'value' => UM()->query()->get_meta_value('_um_directory_no_users', null, __( 'We are sorry. We cannot find any users who match your search criteria.', 'ultimate-member' ) ), + 'id' => '_um_directory_no_users', + 'type' => 'text', + 'label' => __( 'Custom text if no users were found', 'ultimate-member' ), + 'tooltip' => __( 'This is the text that is displayed if no users are found during a search', 'ultimate-member' ), + 'placeholder' => __( 'We are sorry. We cannot find any users who match your search criteria.', 'ultimate-member' ), + 'value' => UM()->query()->get_meta_value('_um_directory_no_users', null, 'na' ), ), ) ) )->render_form(); ?>