diff --git a/src/theme-helper/template-tags.php b/src/theme-helper/template-tags.php index 529bf7175..203ae6f17 100644 --- a/src/theme-helper/template-tags.php +++ b/src/theme-helper/template-tags.php @@ -378,6 +378,9 @@ function tainacan_get_initials($string, $one = false) { if (empty($string)) { return ''; } + + $string = remove_accents($string); + if (strlen($string) == 1) { return strtoupper($string); }